On 1/21/07, <b class="gmail_sendername">Lemmih</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Do you have a smaller test case? I couldn't reproduce the error after<br>I pulled out the MacOS stuff.</blockquote><div><br>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 pthread. Which is what I understand CoreAudio is doing. I'm starting to think the problem could be:
<br>- Interference with the alarm signal haskell uses to schedule. There is a bug filed in GHC's trac system, so I presume it's still true, but I haven't located the code in GHC that sets this up.<br>- The haskell code is too slow. If a coreaudio IO proc takes too long the system will still call the callback but essentially silence all output. Which is what is consistent with what I observed, but doesn't explain why code after the poke* call is not occuring.
<br><br></div></div>-- <br>-Corey O'Connor