Gilad Ben-Yossef wrote: > Ori Idan wrote: >> I need to sleep until a message is aviliable in a message queue. >> >> I can do it using msgrcv, however it will remove the message from the >> queue. >> >> Is there a way to do it without removing the message? I juast want to >> wake up and not read the message yet. >> >> > > Move to POSIX message queues instead of Sys V message queues and use > mq_notify(): > > > http://www.die.net/doc/linux/man/man3/mq_notify.3.html > > AFAIK POSIX message queues are supported in Linux circa 2.6.6 or some > such. > > Gilad > I am afraid I can't since the system uses kernel 2.4.x is POSIX supported on kernel 2.4?
-- Ori Idan ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]