[plt-scheme] threads and mzscheme

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Mon May 23 16:02:16 EDT 2005

Matthew Flatt schreef:

>You're right --- it won't work. MzScheme semaphores work only with the
>MzScheme thread scheduler.
>You'll need to use whatever synchronization primitives the C thread
>system provides, and then connect to the MzScheme scheduler through
>scheme_block_until() or scheme_add_evt().
 From the "Inside" manual: on scheme_block_until()

"If |f| ever returns a true value, it must continue to return a true 
value. "

Until when? Until scheme_block_until() returns?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20050523/c5116047/attachment.html>

Posted on the users mailing list.