On Tue, Jul 13, 2004 at 06:09:57PM +0200, Olivier Guilyardi wrote:
If you want to
be careful, then yes. You can ask msgrcv to not block, but
I'd personally double check the kernel code. :)
What do you usually use then to talk with a RT thread ? The JACK doc
talks about rwlocks, but message queues happen to elegantly suit my code...
You can do IPC without syscalls, if you have atomic ops on a platform.
See the various lock-free FIFO implementations floating around.