ToC DocOverview CGDoc RelNotes FAQ Index PermutedIndex
Allegro CL version 11.0

multiprocessing variables


*default-message-interrupt-function*

variable, multiprocessing package

This variable supplies the default value for the message-interrupt-function keyword argument to make-process. This argument is used on Windows only. The message-interrupt-function for a process is accessed by process-message-interrupt-function.

See multiprocessing.html for general information on multiprocessing in Allegro CL.


*default-process-quantum*

variable, multiprocessing package

Default quantum given to each process. The value must be a number greater than or equal to 0.1 seconds and less than or equal to 20 seconds.

See multiprocessing.html for general information on multiprocessing in Allegro CL.


*general-wait-delay*

Variable, multiprocessing package

The value is the number of seconds between successive scans of the wait functions when the general-wait-tester is activated. Default is 2. The general-wait-tester is a system thread that makes sure that the general wait conditions (for process-wait and the like) are tested periodically.

See multiprocessing.html for general information on multiprocessing in Allegro CL.


*process-pool-default-active-limit*

Variable, multiprocessing package

This variable provides the default value for the active-limit argument when a process pool is created (with, say, make-process-pool or ensure-default-process-pool. The initial value is nil to specify no limit at all.

Note that in some operating systems and hardware configurations creating too many processes may trigger an unrecoverable error. While nil is an unsatisfactory value, there is really no general value which applies in all cases because the desirable number of active processes depends on hardware, loading, OS details, and other information not really available when the value of this variable is originally set. Users should either determine a suitable value for this variable and set it themselves or always specify a value for the active-limit argument so the value of this variable is never actually used.

See Process pools in multiprocessing.html for more information on process pools.


*process-pool-version*

Variable, multiprocessing package

The current version number of the process-pool implementation.

See Process pools in multiprocessing.html for more information on process pools.


*process-pool-work-item*

Variable, multiprocessing package

When a process-pool-work-item is active, which means one of its report-start function, its function, or its report-end function is running, this variable is bound to the work-item object and can be examined to determine values of its various slots. The data slot is usually the one that is most usefully read using this variable.

See Process pools in multiprocessing.html for more information on process pools.


Copyright (c) 2023, Franz Inc. Lafayette, CA., USA. All rights reserved.

ToC DocOverview CGDoc RelNotes FAQ Index PermutedIndex
Allegro CL version 11.0