Thread-Safety through FFI
Ashley Yakeley
ashley@semantic.org
Thu, 25 Oct 2001 03:30:13 -0700
At 2001-10-25 03:12, Simon Marlow wrote:
>This might work, but no guarantees.
OK, so I'd be better off making sure all Haskell runs in one OS-thread.
Although presumably I can use Haskell-threads: I can have a special
Haskell-thread that handled a queue of incoming execution requests,
firing off a new Haskell-thread for each one. And then I could have a
native-code mechanism to allow asynchronous additions to the queue.
--
Ashley Yakeley, Seattle WA