#include <sys/iofunc.h> int iofunc_unblock( resmgr_context_t * ctp, iofunc_attr_t * attr );
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 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.
Writing a Resource Manager
Resource Managers chapter of Getting Started with QNX Neutrino