Next Prev Up Top Contents Index

11.2.4.2 Multiprocessing on startup

There are three ways to make LispWorks start multiprocessing on startup.

1. Use the -multiprocessing command-line argument

2. Save the image to start with multiprocessing by doing

(save-image "mp-lispworks"
:restart-function 'mp:initialize-multiprocessing)

3. Use delivery to create the executable and pass the argument :multiprocessing t to deliver . The delivery function will be called automatically in a new process. See the LispWorks Delivery User Guide for more details.

In all cases, mp:*initial-processes* can be used to control which processes are created on startup.

Note: On Windows and Linux, you cannot save an image with multiprocessing running.


LispWorks User Guide - 14 Dec 2001

Next Prev Up Top Contents Index