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

2011-09-20 Thread John Clements
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

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

2011-09-20 Thread Kevin Tew
Place channels only work between places (os threads spawned using the `place' primitives). Place channels can't be used with an OS thread spawned by an arbitrary C library. but src/racket/src/mzrt.c contains synchronization operations for use between OS threads. Place channels are built on