NextPrevUpTopContentsIndex

16.2.5.2 Multiprocessing on startup

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


LispWorks User Guide - 11 Mar 2008

NextPrevUpTopContentsIndex