This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Guile's threads and mutex


Sascha Ziemann writes:
 > How can I get such a "select" functionality for Guile threads?

I don't think the guile's thread support is special.  It's usual one.
Mutex is not for "select".

In the case of yours, use of conditional variable (with mutex) is
usual.  condition-wait for consumer, condition-signal for producer.

Umm... I've found that there is no document in the reference manual
for conditional variables...

I'll show an example later.

Thanks, 
-- 
NIIBE Yutaka