thread-join

Name

thread-join -- Synchronize with a thread.

Type: function

Synopsis

thread-join( thread, result);

Arguments

thread

An instance of <thread>

Return Values

result

Instances of <object>

Description

This procedure waits for the given thread to complete, and then returns the values returned by it. If the target thread exits without generating results (ie, by signalling an exception), then this procedure signals a <thread-died> exception.