I'm implementing a message queue using IPC::MSG and IPC::SysV. I can create the queue and talk between processes, but I don't want a blocking msgrcv call, I pass it a IPC_NOWAIT flag, but still it blocks. Any ideas?
Here's some snippits..
...
if(msgrcv($id, $rcvd, 512, 0, IPC_NOWAIT)) <-- Blocks here.