You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we create threads quite often it may be helpful to use raw fork instead of forkIO. Something like this:
-- A version of forkIO that does not include the outer exception-- handler: saves a bit of time when we will be installing our own-- exception handler.
{-# INLINE rawForkIO #-}
rawForkIO::IO()->IOThreadId
rawForkIO action =IO$\ s ->case (fork# action s) of (# s1, tid #) -> (# s1, ThreadId tid #)
The text was updated successfully, but these errors were encountered:
Since we create threads quite often it may be helpful to use raw fork instead of
forkIO
. Something like this:The text was updated successfully, but these errors were encountered: