hi everyone,
I am trying to establish communication between 2 therads in my application with a named queue. The function call in my program is
Code:
mqd_t msgq_id = mq_open("/Message Box",O_RDWR | O_CREAT | O_EXCL, S_IRWXU | S_IRWXG, NULL);
the piece of code compile correctly and on running the application, this function fails. I checked the errno variable, I find that its been set to EAGAIN(11). I get the same errno when I retry executing this API.
I can understand other messages but EAGAIN!!!
Can you guys please let me know where I have gone wrong in this declaration