Re: [Haskell-cafe] Problems using Storable.poke* from separate OS thread.

2007-01-22 Thread Corey O'Connor
On 1/21/07, Lemmih <[EMAIL PROTECTED]> wrote: Do you have a smaller test case? I couldn't reproduce the error after I pulled out the MacOS stuff. No, I don't have a smaller test case yet. I'm trying to reproduce the same environment as the CoreAudio IO proc using a real-time scheduled pthrea

Re: [Haskell-cafe] Problems using Storable.poke* from separate OS thread.

2007-01-21 Thread Lemmih
On 1/21/07, Corey O'Connor <[EMAIL PROTECTED]> wrote: The short version: If a haskell routine exported to C is called from a CoreAudio IO Proc, which is on a separate thread than the main thread, the Haskell routine seams to exit early without notice. If the same routine is called from the main

[Haskell-cafe] Problems using Storable.poke* from separate OS thread.

2007-01-21 Thread Corey O'Connor
The short version: If a haskell routine exported to C is called from a CoreAudio IO Proc, which is on a separate thread than the main thread, the Haskell routine seams to exit early without notice. If the same routine is called from the main thread the routine produces correct output. Any ideas o