As part of my (dont know when to finish) guile-termite project, I have a thread-mailbox impletement. https://github.com/ChaosEternal/guile-termite/tree/master/thread-mailbox
On Sat, Sep 10, 2016 at 6:36 PM Diogo F. S. Ramos <d...@riseup.net> wrote: > > 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. > >