3.5 Threads: the Threads structure

fork

Function

Summary

Forks a new thread.

Signature

MLWORKS.Threads

Structure

MLWorks.Threads

Type

val fork: ('a -> 'b) -> 'a -> 'b thread

Syntax

fork f x -> t

Arguments

f
An ML function.

x
Arguments to f.

Values

t
A new thread evaluating f x.

Description

Forks a new thread which evaluates the application of f to x.


MLWorks Reference Manual (version 1.0) - 3 DEC 1996

Generated with Harlequin WebMaker