Next Prev Up Top Contents Index

12.2.5.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 - 18 Feb 2003

Next Prev Up Top Contents Index