A name for the new process.
Keywords specifying properties of the new process.
A function to apply.
Arguments to pass to function.
fixnum representing the priority for the process. If
:priority is not supplied, the process priority becomes the value of the variable
A mailbox object, a string,
nil, used to initialize the
process-mailbox of process.
True values specify that process should have a mailbox. A mailbox object is used as-is; a string is used as the name of a new mailbox; and
t causes it to create a mailbox with the same name as process, that is, name.
When true, this indicates that the process is an "internal server", which means that it responds to requests for work from other processes. The main effect of this is that if the only processes that remain are "internal servers", nothing is going to happen, so LispWorks quits. The system marks some of the processes that it creates as "internal server".
:terminate-by-send define the Terminate Method of the process, which is what process-terminate uses. If more than one of these keyword arguments is supplied, then
:remote-terminator takes precedence over
:local-terminator which takes precedence over
If remote-terminator is supplied, it must be a function of one argument. When process-terminate is called, it funcalls remote-terminator on the process that process-terminate was called on, which normally will be another process. It should then terminate the process somehow. Typically the process itself will be frequently checking some flag which tells it to exit, and the function remote-terminator just sets this flag.
If local-terminator is supplied, it must be a function of no arguments. When process-terminate is called it sends to the process a list with the local-terminator as the only element. That relies on the process itself processing what is sent to it and funcalling the function. This is what general-handle-event does, which is what system processes tend to use. In particular, all processes that are created by CAPI use it.
If terminate-by-send is supplied and non-nil, process-terminate sends the process a list containing current-process-kill (that is it is the same as
:local-terminator 'current-process-kill). CAPI processes use this keyword.
LispWorks User Guide and Reference Manual - 13 Feb 2015