Next Previous Up Top Contents Index

3.5 Threads: the Threads structure

result

Function

Summary

Polls a thread for its status.

Signature

MLWORKS.Threads 

Structure

MLWorks.Threads 

Type

val result : 'a thread -> 'a result

Syntax

result t -> result 

Arguments

t
A thread.

Values

result
Result of the thread. A value of type 'a result.

Description

Polls the thread t for its status. Returns the result of t if it has finished evaluating, and a status indicator otherwise.

See also

'a result, page 49


MLWorks Reference Manual version 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker