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, Linux, FreeBSD and Mac OS X you cannot save a LispWorks image with multiprocessing running.