Re: ghc rts selection and third party libraries

2010-02-17 Thread Simon Marlow
On 01/02/10 13:36, John Lask wrote: I understand these are internals of ghc and subject to change. The reason for their use: to support asynchronous interrupts safe with respect to the Haskell code that is being interrupted. To my knowledge (please correct me if I am wrong) there is no way to do

Re: ghc rts selection and third party libraries

2010-02-01 Thread Krzysztof Skrzętnicki
Perhaps rtsSupportsBoundThreads can help: http://www.haskell.org/ghc/docs/6.12.1/html/libraries/base-4.2.0.0/Control-Concurrent.html#v%3ArtsSupportsBoundThreads Best regards Krzysztof Skrzętnicki On Mon, Feb 1, 2010 at 06:33, John Lask jvl...@hotmail.com wrote: Hello I hope someone can

ghc rts selection and third party libraries

2010-01-31 Thread John Lask
Hello I hope someone can provide some guidance on how I can solve a certain problem. I have a library that taps into the ghc c rts: specifically when the rts is single threaded I am pumping events in via: stg_pending_events, when the threaded rts is used I use sendIOManagerEvent. i.e. I