8.6.4.17 Function events_release()
Release allocated channel back the the resource pool.
enum status_code events_release( struct events_resource * resource)
Release an allocated channel back to the resource pool to make it available for other purposes.
Data direction | Parameter name | Description |
---|---|---|
[in] |
resource |
Pointer to an events_resource struct |
Returns
Status of channel release procedure.
Return value | Description |
---|---|
STATUS_OK |
No error was detected when channel was released |
STATUS_BUSY |
One or more event users have not processed the last event |
STATUS_ERR_NOT_INITIALIZED |
Channel not allocated, and can therefore not be released |