Module Imandrakit_thread

Threading and concurrency library.

This builds on top of Moonpool but adds helpers.

Re-exports

include module type of struct include Imandrakit_sync end
module Atomic_util = Imandrakit_sync.Atomic_util

Main

module Background_thread : sig ... end

Background thread, for running tasks asynchronously in a sequential fashion.

module Executor : sig ... end

A task executor.

module Fiber : sig ... end
module Fut : sig ... end

Future

module Immlock : sig ... end
module LRU_cache : sig ... end
module Lock : sig ... end
module Mvar : sig ... end
module Once : sig ... end
module Rvar : sig ... end

Reactive variable.

module Switch : sig ... end
module Supervisor : sig ... end

Supervisor-like features

module Sync_queue : sig ... end

Blocking queue

module Thread_pool : sig ... end

Thread Pool.

module Timer : sig ... end

Timer.

Re-export

module Exn_bt = Moonpool.Exn_bt
val with_lock : Stdlib.Mutex.t -> (unit -> 'a) -> 'b