Imandrakit_thread.Background_threadBackground thread, for running tasks asynchronously in a sequential fashion.
This is a layer on top of Task_runner1 that adds futures.
type t = Executor.tval pp : t Imandrakit.Fmt.printerval start :
?active:Imandrakit_sync.Switch.t ->
?on_exn:(exn -> Stdlib.Printexc.raw_backtrace -> unit) ->
name:string ->
unit ->
tval with_ :
?active:Imandrakit_sync.Switch.t ->
?on_exn:(exn -> Stdlib.Printexc.raw_backtrace -> unit) ->
name:string ->
unit ->
(t -> 'a) ->
'aval join : t -> unit