Looks very nice, thanks. I'll certainly draw some inspiration from it! 2016-09-10 12:35 GMT+02:00 Diogo F. S. Ramos <d...@riseup.net>:
> > 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. > >