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]

condition variables and mutexes



Is it useful to be able to wait on a condition variable without
atomically releasing a mutex when you stop and reacquiring the mutex
when you're done?  In other words, should Guile provide a
(condition-variable-wait CONDVAR) operation, in addition to the normal
(condition-variable-wait CONDVAR MUTEX) operation?

Multithreaded programming is definitely one of my weak points.