Subj : Re: linux, pthreads and message queues, thread safe To : comp.programming.threads From : Loic Domaigne Date : Mon May 16 2005 11:18 am Hi! > Are message queues (msgrcv, msgsnd) thread safe in linux pthreads? Yes, they are. However, notice that you might be suject to race condition if, for instance, two threads try to pick-up the same message type at about the same time. But from your description, that kind of problem doesn't seem to occur, since each thread uses unique message type. Regards, Loic. .