Cheers Steve.
Which interface, the antique draft 9 one or the final version? If the
final, I don't remember coding any limits in, except that it needs to be
able to create a shared memory segment the size of the entire queue.
Mind you, it's been over a decade, so it's possible the code I wrote
isn't in there anymore. But you didn't give a hint about versions.
Regards,
--
Steve Watt KD6GGD PP-ASEL-IA ICBM: 121W 56' 57.5" / 37N 20' 15.3"
Internet: steve @ Watt.COM Whois: SW32-ARIN
Free time? There's no such thing. It just comes in varying prices...
Am using LynxOS 4.0 and 4.2. On further investigation you can set the
maximum
queue entries and size when creating the queue with mq_open. It's just
that you
can't subsequently modify them with mq_setattr.
BTW is there any way to view what queues have been created? On Linux
you
can mount the message queue fileystem to examine queues and contents.
Regards.
Resizing POSIX message queues in a realtime system is going to require
a complete teardown and recreate of the queue. Part of the point of
completely preallocating the queue is to provide run-time determinism.
>BTW is there any way to view what queues have been created? On Linux
>you can mount the message queue fileystem to examine queues and
>contents.
They should show up in "ipcs -q". How that command learns about them
is Dark Magick(TM), and (more importantly) will vary between releases.
"lipcs" is the one for POSIX.1b IPC ("ipcs" is for System-V compatible
IPC).
--
Thomas