[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing objects between threads
From: |
Panicz Maciej Godek |
Subject: |
Re: Passing objects between threads |
Date: |
Sat, 10 Sep 2016 21:29:53 +0200 |
Looks very nice, thanks.
I'll certainly draw some inspiration from it!
2016-09-10 12:35 GMT+02:00 Diogo F. S. Ramos <address@hidden>:
> > Hi,
> > is there any easy way to create a channel (queue) that could be used to
> > communicate between threads? In particular, if the queue is empty, I
> would
> > like the consumer to wait until something appears in it (pretty much like
> > the channels in Clojure)
>
> I don't know about Clojure, but I've written the attached program a
> while ago. It worked for my purposes, but it wasn't tested much.
>
>