On Sun, Feb 1, 2009 at 3:52 PM, ?? ? <zhengqiang.zhu at yahoo.com.cn> wrote: > Hi, > > I plan to use PJLIB in my project as the OS abstratcion layer. According to > my former embedded system developing experience, the message queue is > heavily used for the thread communication. But I can not find the related > functions in PJLIB.Then what is the suitable way for thread communication? > For example, how to send the message from one thread to another? > > For me I always prefer to call the function directly, to reduce overhead, that's why we don't have built-in message queue in pjlib. But if you want it, I suppose it should be trivial to create one using list and semaphore? cheers Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090210/0c54e937/attachment.html>