Ocamlnet 4 Reference Manual : Netsys_oothr.thread

# Class type Netsys_oothr.thread

    class type thread = object .. end

    method id : int

In a multi-threaded program: Returns the thread ID. In a single-threaded program: Returns 0.

    method join : unit -> unit

In a multi-threaded program: Suspends the calling thread until this thread terminates. In a single-threaded program: fails

    method repr : exn

May be used internally be the implementation