Unregister a secure event
#include <sys/neutrino.h> int MsgUnregisterEvent( const struct sigevent *event ); int MsgUnregisterEvent_r( const struct sigevent *event );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The MsgUnregisterEvent() and MsgUnregisterEvent_r() kernel calls unregister the secure event associated with the given handle. These functions are identical except in the way they indicate errors. See the Returns section for details.
To register an event, call MsgRegisterEvent(). For more information about secure events, see Events in the Interprocess Communication (IPC) chapter of the System Architecture guide.
Blocking states
None.
The only difference between MsgUnregisterEvent() and MsgUnregisterEvent_r() is the way they indicate errors:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |