![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
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.
![]() |
Currently, this involves only the advisory lock list that's maintained by the attribute. |
If a client connection is found:
If no client connection is found, iofunc_unblock() returns _RESMGR_DEFAULT.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | Yes |
| Thread | Yes |
Writing a Resource Manager chapter of the Programmer's Guide.
![]() |
![]() |
![]() |
![]() |