All safe. The fetch removes the item from queue within a lock and then keeps it in the process space. It is no possible race for many processes to consume the same item.
Cheers, Daniel
On 1/3/13 4:54 PM, Alex Balashov wrote:
Will multiple rtimer processes consuming the same mqueue, i.e. via a blocking mechanism
while(mq_fetch(...))
... hurt anything?