Unblock OCBs
#include <sys/iofunc.h>
int iofunc_unblock( resmgr_context_t * ctp,
iofunc_attr_t * attr );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The iofunc_unblock() function unblocks any clients that are blocked on any internal resource manager structures.
If a client connection is found on the internal lists:
If no such client connection is found, iofunc_unblock() returns _RESMGR_DEFAULT. In this case, the user code must clean up and unblock the client.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |