[gambit-list] Thread undocumented features...
Jeremie Lasalle Ratelle
pouexmachinax at gmail.com
Tue Sep 1 14:08:04 EDT 2009
(define-prim (##thread-suspend! thread)
(##declare (not interrupts-enabled))
This is not implemented
thread-interrupt! allows you to pass a second argument which must be a void
thunk that will be executed on thread restore.
What you want is ##thread-call which will put the result of a thunk executed
thread with thread-interrupt! in the specific of a mutex, retrieve it and
In fact, there is a function doing exactly what you want :
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gambit-list