Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - resource manager, ionotify, 2 clients, RESOURCE BUSY: Page 1 of 4 (4 Items)
   
resource manager, ionotify, 2 clients, RESOURCE BUSY  
Hi all,

I followed the QNX documentation about implementing support for ionotify in a resource manager. It all works fine for 
the first client connecting to the resource manager but the second client always receives "resource busy". The 
documentation at http://www.qnx.com/developers/docs/6.4.1/neutrino/lib_ref/i/iofunc_notify.html states: "A notification 
was already armed for this resource, and this library function enforces a restriction of one per resource." And this is 
where I'm lost. The documentation at 
http://www.qdn.com/developers/docs/6.4.0/neutrino/prog/resmgr.html#HANDLING_ionotify seens to tell me that I can use 
ionotify with multiple clients. The term 'resource', is that the server or client.

A few years ago, I ran into this issue also and at that moment, a guy named Roverfan showed me to add the notify 
structure to the OCB and implement a per client OCB. (http://www.openqnx.com/index.php?name=PNphpBB2&file=printview&t=
2927&start=0)

My questions: How to make ionotify work in a resource manager for multiple clients and how to trigger all clients from a
 resource manager worker thread.

TIA,
Freddy



Regards,
Freddy Martens