Can also be use for scheduling components that use
libraries that require ThreadLocal state (e.g. OpenGL).
See:
"Extending the Haskell Foreign Function Interface with
Concurrency" -
Simon Marlow and Simon Peyton, Jones Wolfgang Thaller
Linear Supertypes
Executor, java.util.concurrent.Executor, AnyRef, Any
Class of executors bound to a single thread.
Can also be use for scheduling components that use libraries that require ThreadLocal state (e.g. OpenGL). See: "Extending the Haskell Foreign Function Interface with Concurrency" - Simon Marlow and Simon Peyton, Jones Wolfgang Thaller