native threads vs. -threaded

Donn Cave donn at avvanta.com
Mon Mar 15 11:15:38 EDT 2010


Quoth Simon Marlow <marlowsd at gmail.com>,

>> ...  Does the wrapper rts_lock() account
>> for everything, or do threads need some initial setup I need to
>> account for?
>
> Nope, as long as the RTS is initialised properly via hs_init() you 
> should be able to make callbacks from any OS thread.

Thanks - I'm sorry to hear I'm doing everything right!

	Donn Cave, donn at avvanta.com



More information about the Glasgow-haskell-users mailing list