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:
a null-terminated string of up to NAME_MAX (i.e., 255) characters consisting of an initial slash, followed by one or more characters, none of which are slashes.
|
However, you are receiving an out-of-memory error (ENOMEM?). You need first to determine which error number is being returned.
Perhaps the problem is something along the lines of this one:
http://stackoverflow.com/questions/5...ge-queue-in-po.