[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing objects between threads
From: |
Diogo F. S. Ramos |
Subject: |
Re: Passing objects between threads |
Date: |
Sat, 10 Sep 2016 07:35:57 -0300 |
> 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.
channel.scm
Description: Binary data