![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Process a message again in a resource manager
#include <sys/resmgr.h> int resmgr_msg_again( resmgr_context_t *ctp, int rcvid);
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The resmgr_msg_again() function reprocesses the message corresponding to the given rcvid. It does this by:
You use this function if your resource manager can't process a message right away. For example, if a read operation is blocked, your io_read handler would save the rcvid of the request, and then return _RESMGR_NOREPLY, leaving the client blocked. Later, when the resource manager can handle the request, it can call resmgr_msg_again() to reprocess the message.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
MsgCurrent(), MsgInfo(), MsgRead(), resmgr_context_t
![]() |
![]() |
![]() |
![]() |