Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - mq_open(): Function not implemented: (2 Items)
   
mq_open(): Function not implemented  
Hi,

I have an app just after kernal booting up. I used traditional message queue in mt app. If mq_open() is called right 
away, it shows "mq_open(): Function not implemented". If I put sleep(1) before mq_open(), it works fine.

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

Question: Is there any precondition or dependence for using mq_open();

Thanks!
RE: mq_open(): Function not implemented  
You must have the "mq" or "mqueue" resource manager started before you can use mq_open().
________________________________________
From: Samual Peng [community-noreply@qnx.com]
Sent: Thursday, January 24, 2013 11:41 AM
To: ostech-core_os
Subject: mq_open(): Function not implemented

Hi,

I have an app just after kernal booting up. I used traditional message queue in mt app. If mq_open() is called right 
away, it shows "mq_open(): Function not implemented". If I put sleep(1) before mq_open(), it works fine.

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

Question: Is there any precondition or dependence for using mq_open();

Thanks!



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post98765
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com