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

general-handle-event Generic Function

Summary

"handles" an event, depending on the type of the event object.

Package

mp

Signature

general-handle-event event-object

Arguments
event-object
A Lisp object.
Description

The generic function general-handle-event "handles" event-object. What this actually means depends on the type of the object.

There are system defined methods for these classes:

Apply the car to the cdr.
Call it.
If fbound call it, otherwise do nothing.
t
Do nothing.

You can add methods for your own classes.

general-handle-event is used by all functions that process events, for example wait-processing-events and process-all-events, as well as by internal waiting functions.

See also

process-all-events
process-send
19.6.3 Communication between processes and synchronization


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:51