3.5 Threads: the Threads structure

parent

Function

Summary

Returns the identifier of a thread's parent thread.

Signature

MLWORKS.Threads.Internal

Structure

MLWorks.Threads.Internal

Type

val parent : thread_id -> thread_id

Syntax

parent ID -> parent-ID

Arguments

ID
A thread identifier.

Values

parent-ID
A thread identifier.

Description

Returns the identifier of a given thread's parent thread. The identifier parent-ID is the identifier of the thread that initiated the thread ID.

See also

children, page 52


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker