NAME | SYNOPSIS | API RESTRICTIONS | PARAMETERS | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
$(NUCLEUS_DIR)/lib/sysevent/sysevent.a #include <sysevent/chSysevent.h>int syseventFree(int spaceId, KnSysevent *sysevent);
The function or functions documented here may not be used safely in all application contexts with all APIs provided in the ChorusOS 5.0 product.
See API(5FEA) for details.
The syseventFree() function frees a system event buffer. The event buffer is returned to the event pool to which it belongs, allowing its further use by a call to syseventAllocate(). If a thread is waiting for an event buffer from the same event pool, it is awakened and is allocated the freed event buffer. Otherwise, the event buffer is appended to the pool.
K_OK is returned on successful completion. Otherwise, a negative error code is returned.
spaceId is not valid
The sysevent has a null value. Note that if this pointer is a non accessible address, the caller actor crashes itself into PRM or VM memory models. Otherwise, the FLM memory model can behave unpredictably.
The sysevent is not a valid system event buffer
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | API RESTRICTIONS | PARAMETERS | DESCRIPTION | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO