Package

molecule.platform

executors

Permalink

package executors

Visibility
  1. Public
  2. All

Type Members

  1. trait SingleThreadedExecutor extends Executor

    Permalink

    Class of executors bound to a single thread.

    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

  2. final class TrampolineExecutor extends Executor

    Permalink

    Executor used by the Flow Parallel Scheduler described in the paper.

    Executor used by the Flow Parallel Scheduler described in the paper. It is kept here for reference as it has now been superseeded by the WorkConservingExecutor.

  3. final class WorkConservingExecutor extends Executor

    Permalink

    Optimistic work-conserving executor.

    Optimistic work-conserving executor.

    This executor is a trampoline executor that does its best to find something to do before a) scheduling a task to thread pool or b) returning to its thread pool where it might get suspended, by pushing or stealing tasks to/from its immediate neighbors (see implementation for details).

Ungrouped