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

NextPrevUpTopContentsIndex

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" the event-object. What this actually means depends on the type of the object.

There are system defined methods for these classes:

list

Apply the car to the cdr.

function

Call it.

symbol

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
Communication between processes and synchronization


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex