Unlock OCB I/O function handler

Prototype:

int (*unlock_ocb) ( resmgr_context_t *ctp,
                   void *reserved,
                   RESMGR_OCB_T *ocb ) 

Classification:

I/O (synthesized by library)

Default handler:

iofunc_unlock_ocb_default()

Helper functions:

none

Client functions:

all

Messages:

none—synthesized by library

Data structure:

none

Description:

Inverse of lock OCB I/O function handler, above. That is, it's responsible for unlocking the attributes structure pointed to by the OCB. This operation releases the attributes structure so that other threads in the resource manager may operate on it. See the section on “Combine messages” above for more details.

Returns:

The status via the helper macro _RESMGR_STATUS().

Referenced by:

resmgr_io_funcs_t I/O table

Permission checking:

The default implementation iofunc_unlock_ocb_default() does not do any permission checking and has no helper function. No permission checking is required.