guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Passing objects between threads


From: Chaos Eternal
Subject: Re: Passing objects between threads
Date: Sat, 10 Sep 2016 11:18:02 +0000

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 <address@hidden> 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.
>
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]