Next: , Previous: , Up: Internal definitions   [Contents][Index]


5.2.2 Macros

Macro: %receive RECEIVE-FN CURRENT-FN RETURN-FORM &rest CURRENT-FN-ARGS

Macro used for generating various receive functions.

RECEIVE-FN is a function called to receive a message. CURRENT-FN is a function which will be called on interrupt. RETURN-FORM is a form placed at the end of the macro. It has access to BUFFER, LENGTH (of received message) and PRIORITY (of received message). CURRENT-FN-ARGS are additional arguments placed at the end of RECEIVE-FN and CURRENT-FN.

Package

posix-mqueue

Source

lib.lisp (file)

Macro: %send SEND-FN CURRENT-FN &rest SEND-FN-ARGS

A macro used to generate send functions. SEND-FN is a function used to send the actual message. CURRENT-FN is a function which is called on interrupt. SEND-FN-ARGS are additional arguments placed at the end of SEND-FN and CURRENT-FN call.

Package

posix-mqueue

Source

lib.lisp (file)