[LCP] message queues in pthread

Ludwig Isaac Lim ludz_lim at yahoo.com
Wed Jul 25 12:58:59 UTC 2007


Hi:

    Are Sys V message queues in linux thread safe? is it ok
to create a worker thread to get a data from message queues
(using msgrcv)?  My program (actually written in C++) keeps
on crashing after the msgrcv call inside the thread.

    Should I use POSIX message queues instead?

Thanks,
ludwig lim

P.S. [OT] It seems that the corresponding C++ mailing list
TuxCCProgramming at lists.linux.org.au is already defunct. I
was unable to subscribe and neither am I able to contact
the administrator of the said list.


       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz 



More information about the linuxCprogramming mailing list