Page 344 Table of Contents Index Page 346
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E



APPENDIX B. THE CLIM-SYS PACKAGE


B.2 Multi-processing

Most Lisp implementations provide some form of multi-processing. CLIM provides a set of
functions that implement a uniform interface to the multi-processing functionality.

=> make-process function &key name [Function]
Creates a process named name. The new process will evaluate the function function. On systems
that do not support multi-processing, make-process will signal an error.

=> destroy-process process [Function]
Terminates the process process. process is an object returned by make-process.

=> current-process [Function]
Returns the currently running process, which will be the same kind of object as would be returned
by make-process.

=> all-processes [Function]
Returns a sequence of all of the processes.

=> process-wait reason predicate [Function]
Causes the current process to wait until predicate returns true. reason is a "reason" for waiting,
usually a string. On systems that do not support multi-processing, process-wait will loop until
predicate returns true.

=> process-wait-with-timeout reason timeout predicate [Function]
Causes the current process to wait until either predicate returns true, or the number of seconds
specified by timeout has elapsed. reason is a "reason" for waiting, usually a string. On systems
that do not support multi-processing, process-wait-with-timeout will loop until predicate
returns true or the timeout has elapsed.

=> process-yield [Function]
Allows other processes to run. On systems that do not support multi-processing, this does
nothing.

=> process-interrupt process function [Function]
Interrupts the process process and causes it to evaluate the function function. On systems that
do not support multi-processing, this is equivalent to funcall'ing function.

=> without-scheduling &body body [Macro]
Evaluates body in a context that is guaranteed to be free from interruption by other processes.
On systems that do not support multi-processing, without-scheduling is equivalent to progn.


Page 344 Table of Contents Index Page 346
Chapters
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
A, B, C, D, E