Chinaunix

标题: pthread和boost thread的关系? [打印本页]

作者: trypsin    时间: 2011-04-22 11:03
标题: pthread和boost thread的关系?
boost的thread跟pthread有没有关系?

之前用一个pthread子线程去请求player(我用的API)结果返回连接错误,邮件组上说player这个东西是非线程安全的,然后我看到player的文档上有Singals and multithreading一项,但是里面说这个多线程依赖于boost c++库。
作者: duanjigang    时间: 2011-04-22 11:12
用pthread自己做多线程互斥吧
作者: trypsin    时间: 2011-04-22 19:34
LS 能详细点说么?没明白啊




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2