name_attach returns errno 16 - QNX 6.2 PE

What would be the reason to return errno 16 by name_attach.

attach_data = name_attach(NULL, “testPath”, 0);



Janusz Ruszel

Janusz Ruszel <janusz_ruszel@baxter.com> wrote:

What would be the reason to return errno 16 by name_attach.

attach_data = name_attach(NULL, “testPath”, 0);

errno 16 = resource busy

Somebody has already attached that name is the most likely case.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.

Unfortunetly, it is not. This error appears randomly ( seldom ). There is no
another process or thread which attaches that name.
What would be more detailed debug output beside errno?
Janusz.

“David Gibbs” <dagibbs@qnx.com> wrote in message
news:bb3g92$i3j$1@nntp.qnx.com

Janusz Ruszel <> janusz_ruszel@baxter.com> > wrote:
What would be the reason to return errno 16 by name_attach.

attach_data = name_attach(NULL, “testPath”, 0);

errno 16 = resource busy

Somebody has already attached that name is the most likely case.

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.