forkOS package:concurrency
Fork a computation to happen in a bound thread, which is
necessary if you need to call foreign (non-Haskell) libraries that
make use of thread-local state, such as OpenGL.
Like
forkOS, but the thread is given a name which may be used
to present more useful debugging information.
Like
forkOS, but the child thread is passed a function that can
be used to unmask asynchronous exceptions. This function should not be
used within a
mask or
uninterruptibleMask.
forkOSWithUnmask = forkOSWithUnmaskN ""
Like
forkOSWithUnmask, but the thread is given a name which may
be used to present more useful debugging information.
forkOSWithUnmaskN _ = forkOSWithUnmask