|
Re: FunPtr callbacks broken?: msg#00049lang.haskell.glasgow.bugs
At Thu, 20 Oct 2005 16:59:30 -0400, Wolfgang Thaller wrote: > > > simplejack: schedule: re-entered unsafely. > > Perhaps a 'foreign import unsafe' should be 'safe'? > Are jack callbacks invoked on a second thread? (looks like they are). I am not quite sure what you mean by this, but the answer is probably yes anyway you slice it. The callback is called by a thread in another program (the jack daemon). > If so, you need to use the threaded RTS, activated by passing - > threaded to ghc. > > ghc --make -fglasgow-exts SimpleJack.hs -o simplejack -ljack -threaded Ah! That seems to have fixed it. Thanks! Jeremy Shaw.
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: FunPtr callbacks broken?, Wolfgang Thaller |
|---|---|
| Next by Date: | internal error with ghc 6.4.1, Seth Kurtzberg |
| Previous by Thread: | Re: FunPtr callbacks broken?, Wolfgang Thaller |
| Next by Thread: | internal error with ghc 6.4.1, Seth Kurtzberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |