Next Previous Up Top Contents Index

3.5 Threads: the Threads structure

sleep

Function

Summary

Puts a thread to sleep.

Signature

MLWORKS.Threads 

Structure

MLWorks.Threads 

Type

val sleep : 'a thread -> unit

Syntax

sleep t -> () 

Arguments

t
A thread.

Values

()

Description

Puts the thread t to sleep. Raises the exception Threads if t is already asleep.


MLWorks Reference Manual version 2.0 - 29 Jul 1998

Next Previous Up Top Contents Index

Generated with Harlequin WebMaker