3.5 Threads: the Threads structure

state

Function

Summary

Returns the state of a thread.

Signature

MLWORKS.Threads.Internal

Structure

MLWorks.Threads.Internal

Type

val state : thread_id -> unit result

Syntax

state ID -> result

Arguments

ID
A thread identifier.

Values

result
A thread state. A value of type unit result.

Description

Returns the state of the thread ID. See 'a result for details of the possible state values.

See also

'a result, page 33


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker