All Manuals > LispWorks User Guide and Reference Manual > 44 The MP Package

NextPrevUpTopContentsIndex

current-process-send

Function
Summary

Sends an object as an event to the current process.

Package

mp

Signature

current-process-send object

Arguments

object

A Lisp object.

Description

The function current-process-send sends object as an event to the current process.

This is useful when you want to execute code as an event rather than in the current context. A typical example is when a CAPI callback needs to do something in the current process which is not appropriate to invoke inside the callback.

For the object to actually be processed as an event, the current process must process events sometime after current-process-send is called. In the "standard" situation, for example in a process started by CAPI, the object will be processed as an event by calling general-handle-event.

See also

process-send
general-handle-event
Communication between processes and synchronization


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex