Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Resmgr read does not work for the newly created Fds: (1 Item)
   
Resmgr read does not work for the newly created Fds  
I created simple resmgr, overrode devctl & read functions.

The resmgr attaches to the path.

I have client code. 
In Client Thread 1: opens the resmgr path (get the fd), does devctl to that.
and in thread 2, uses read to read from the resmgr. The Read handler is called in the resmgr.

The Thread 2 continues for some time.
Then Thread 1 re-opens the resmgr again and gets a new fd. It does devctl to the new fd and resmgr devctl handler is 
called for new fd.

The problem is: 
Then the thread 2 uses the new fd and continues the read, but here the read handler is not called in the resmgr. and the
 read call blocks in the Thread2.

Can you please suggest why its not working?
Regards,
Manas