Padraig Furlong <Padraig.Furlong@rte.ie> wrote:
I should have said
When the process terminates abnormally the queue that was opened
remains in /dev/mqueue
As John said, that is normal and expected behaviour. There isn’t a
way for it to go away automatically.
If it goes away when your process terminates normally, that is likely
because your process has cleanup code in its normal termination path
that explicitly unlinks the mqueue.
If you really need that behaviour, you’ll have to do it externally
somehow… have a starter process that watches for this processes
death, and if it dies, have it explicitly unlink the mqueue or
QNX Training Services
Please followup in this newsgroup if you have further questions.