class type thread =object..end
method id : intIn a multi-threaded program: Returns the thread ID. In a single-threaded program: Returns 0.
method join : unit -> unitIn a multi-threaded program: Suspends the calling thread until this thread terminates. In a single-threaded program: fails
method repr : exnMay be used internally be the implementation