[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pool of threads with one producer and several consumers
From: |
Andy Wingo |
Subject: |
Re: Pool of threads with one producer and several consumers |
Date: |
Sat, 23 Jul 2016 12:47:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
On Sun 17 Jul 2016 14:03, Jan Wedekind <address@hidden> writes:
> You can use condition variables (together withvthe mutex) to signal
> availability of a new item to consume.
An implementation here:
https://lists.gnu.org/archive/html/guile-devel/2012-02/msg00033.html
But, I think channels are the way to go (Go-like concurrency or
concurrent ML or something).
Andy