Possix queue names
I am facing a problem while using mq_open
For a queue named "/queue" i get an error "Not enough memory" while for other name like "/Core_1_queue" it works ok. Can someone explain what is going on ? What is the exact convention for queue names ? Thanks |
I suspect that this is not a queue name problem.
If you check out the manual (http://man7.org/linux/man-pages/man3/mq_open.3.html) you should have received an EACCES, EINVAL, ENAMETOOLONG or ENOENT error if there was a problem with the name. That manual page points to http://man7.org/linux/man-pages/man7/mq_overview.7.html which describes that the queue name should be: Quote:
Perhaps the problem is something along the lines of this one: http://stackoverflow.com/questions/5...ge-queue-in-po. |
Thank you !
I will check yt out |
Quote:
Welcome to LQ by the way! |
All times are GMT -5. The time now is 12:41 PM. |