This determines the maximum number of resumptions placed on the stack before a fiber is shifted over to a new thread to prevent stack overflow.
Determines the maximum number of operations executed by a fiber before yielding to other fibers.
Determines the maximum number of operations executed by a fiber before yielding to other fibers.
FIXME: Replace this entirely with the new scheme.
The default handler for unhandled exceptions in the main fiber, and any fibers it forks that recursively inherit the handler.
Utility function to avoid catching truly fatal exceptions.
Utility function to avoid catching truly fatal exceptions. Do not allocate memory here since this would defeat the point of checking for OOME.
The main thread pool used for executing fibers.
Effectfully and synchronously interprets an IO[E, A]
, either throwing an
error, running forever, or producing an A
.
Effectfully interprets an IO
, blocking if necessary to obtain the result.
This trait provides a high-performance implementation of a runtime system for the
IO
monad on the JVM.