Freddy Martens(deleted)
|
resource manager, ionotify, 2 clients, RESOURCE BUSY
|
Freddy Martens(deleted)
03/11/2010 2:53 PM
post49313
|
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
|
|
|