qvm_callback_pulse()
QNX Hypervisor8.0Virtual Device Developer's API ReferenceAPIDeveloper
Fill in a sigevent structure and specify a function to call when the specified event gets delivered
Synopsis:
#include <qvm/utils.h>void qvm_callback_pulse(qvm_callback_func_t *cbfp,
struct qvm_callback *cbp,
int priority,
struct sigevent *ev,
int coid)Arguments:
- cbfp
- A pointer to the callback function to be invoked at event delivery (see qvm_callback_func_t).
- cbp
- A pointer to the structure to be passed as user data to the callback function (see qvm_callback).
- priority
- The priority for the pulse that notifies of the event.
- ev
- A pointer to the sigevent structure to be filled in.
- coid
- The server connection ID. Specify -1 for any server, or QMRE_UNREG_EVENT to not register a message event. If you don't pass QMRE_UNREG_EVENT (and thus, register the event), then you need to explicitly call MsgUnregisterEvent() on the event when you no longer need it.
Page updated:
