Hello
It seems to work to have a proccess create a message queue with msgget, write the returned descriptor to a file and have a second proccess read that file and use the descriptor without any proccess-local initialization...
Are message queue identifiers just (statically mapped mq-id <-> mq-handle) integer numbers to the UNIX IPC interface (and can therefore safely be passed as such), or are they regular handles to the proccess/session structure content (like file descriptors or terminal handles)?
Thanks in advance,
Alonso
It seems to work to have a proccess create a message queue with msgget, write the returned descriptor to a file and have a second proccess read that file and use the descriptor without any proccess-local initialization...
Are message queue identifiers just (statically mapped mq-id <-> mq-handle) integer numbers to the UNIX IPC interface (and can therefore safely be passed as such), or are they regular handles to the proccess/session structure content (like file descriptors or terminal handles)?
Thanks in advance,
Alonso