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.

Table 8-32. Parameters
Data directionParameter nameDescription

[in]

resource

Pointer to an events_resource struct

Returns

Status of channel release procedure.

Table 8-33. Return Values
Return valueDescription

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