View topic - mq_open(): Function not implemented

mq_open(): Function not implemented

Discussion about the QNX6 OS.

mq_open(): Function not implemented

Postby ssssam » Thu Jan 24, 2013 4:08 pm


I have an app just after kernal boot up. I use message queue in it. If I call mq_open() right away in my app, it shows " mq_open(): Function not implemented". If put sleep(1) before mq_open(), then it is fine.

As my understanding, mq_open(...,"my_mq_name",...) will create a path /dev/mqueue/my_mq_name. Just like file open() and create a file descriptor.

Questions: Is there any procondition or dependence for using mq?

New Member
Posts: 1
Joined: Thu Jan 24, 2013 3:56 pm

Re: mq_open(): Function not implemented

Postby Tim » Thu Jan 24, 2013 5:12 pm

Obviously you must start mq before your app attempts to make the mq_open() call. Mqueue (and I believe mq) also require that gns is running.

But the error message you are getting isn't one of the ones that are returned from mq_open. It looks more like something you'd see if you linked your process using a shared library that wasn't yet available (or gns isn't yet available).

So the question is how are you linking your app and what's your boot up look like.

Senior Member
Posts: 1514
Joined: Wed Mar 10, 2004 12:28 am

Return to QNX6 - OS

Who is online

Users browsing this forum: Google [Bot] and 2 guests