There are three ways to make a LispWorks executable start multiprocessing on startup.
1. Use the
-multiprocessing
command line argument
2. Save an image which starts 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.
LispWorks dynamic libraries always start multiprocessing on startup. See Multiprocessing in a dynamic library for more information.
In all cases, *initial-processes* can be used to control which processes are created on startup, as described in Running your own processes on startup.
Note: On Windows, Linux, x86/x64 Solaris, FreeBSD and Mac OS X you cannot save a LispWorks image with multiprocessing running.
LispWorks User Guide and Reference Manual - 21 Dec 2011