Starts a new dedicated thread for each reactor that is created.
Starts a new dedicated thread for each reactor that is created.
The new thread does not stop until the reactor terminates. The thread is optionally a daemon thread.
Executes the reactor on the thread that called the reactor system's spawn
method to create the reactor.
Executes the reactor on the thread that called the reactor system's spawn
method to create the reactor.
While reactors are generally sent off to some other thread or computer for execution after the reactor has been created, this scheduler executes the reactor on the current thread.
The current thread is permanently blocked until the reactor terminates. Using this scheduler from an existing reactor is illegal and throws an exception. This scheduler is meant to be used to turn the application main thread into a reactor, i.e. to step from the normal multithreaded world into the reactor universe.
Contains utility classes and implementations of the dedicated scheduler.