All Manuals > CLIM 2.0 User Guide > Appendix C: The CLIM-SYS Package

C.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

make-process function &key name

Summary: 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 Function

destroy-process process

Summary: Terminates the process process. process is an object returned by make-process.

current-process Function

Summary: Returns the currently running process, which will be the same kind of object as would be returned by make-process.

all-processes Function

Summary: Returns a sequence of all of the processes.

process-wait Function

process-wait reason predicate

Summary: Causes the current process to wait until predicate returns t. reason is a string or symbol that gives an explanation for the wait. On systems that do not support multi-processing, process-wait will loop until predicate returns t.

process-wait-with-timeout Function

process-wait-with-timeout reason timeout predicate

Summary: Causes the current process to wait until predicate returns t or the number of seconds specified by timeout has elapsed. reason is a string or symbol that gives an explanation for the wait. On systems that do not support multi-processing, process-wait-with-timeout loops until predicate returns t or the timeout elapses.

process-yield Function

Summary: Allows other processes to run. On systems that do not support multi-processing, this does nothing.

process-interrupt Function

process-interrupt process function

Summary: 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 Macro

without-scheduling &body body

Summary: 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.


CLIM 2.0 User Guide - 01 Dec 2021 19:39:02