nearly-forever-secondsPortable Threadssleep-nearly-foreverrun-in-threadGoTo Top

run-in-thread   thread function &rest args[Function]

Purpose
Force thread to apply function to args.

Package   :portable-threads

Module   :portable-threads

Arguments and values

thread     A thread
function     A function designator
args     Arguments to the function

Errors
Threads (multiprocessing) is not supported on the Common Lisp implementation.

See also
    spawn-form
    spawn-thread

Example

  (run-in-thread thread
                 #'(lambda (result) (throw ':exit result)) 
                 result)


The GBBopen Project


nearly-forever-secondsPortable Threadssleep-nearly-foreverrun-in-threadGoTo Top