[racket-dev] Using places to synchronize with C threads?

From: John Clements (clements at brinckerhoff.org)
Date: Tue Sep 20 14:17:34 EDT 2011

It looks like you've done the heavy lifting of creating primitives that can be used to synchronize between OS threads.  Is there any way to use place channels to interact between the main Racket thread and an OS thread spawned by an audio library?  I don't see any documentation that provides a C interface to the place primitives, and I've learned the hard way that I can't assume that calling racket functions in a C thread is safe.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20110920/15854647/attachment.p7s>

Posted on the dev mailing list.