mp:process-enable
— Start up a task which was not running.
(mp:process-enable
process)
| An object of type |
The argument to this function should be a process created by mp:make-process
, which has a function associated as per mp:process-preset
but which is not yet running. After
invoking this function a new thread will be created in which the associated
function will be executed.
The following is a possible implementation of mp:process-run-function
.
(defun process-run-function (process-name process-function &rest args) (let ((process (mp:make-process name))) (apply #'mp:process-preset process function args) (mp:process-enable process)))