Next Prev Up Top Contents Index

execute-with-interface

Function
Summary

Allows functions to be executed in the event process of a given interface.

Syntax

execute-with-interface interface function &rest args

Description

The function execute-with-interface is a useful way of operating on an interface owned by another process. It takes a top-level interface, a function and some arguments and queues the function to be run by that process when it next enters its event loop (for an interface owned by the current process, it calls the function immediately).

Example
(setq a (capi:display (make-instance 'capi:interface)))
(capi:execute-with-interface
 a 'break
 "Break inside the interface process")

LispWorks CAPI Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index