boost::thread 中使用類成員作為線程入口
just mark it:)boost::thread trd1(boost::bind(&TheClass::theMember), &obj);
還需要副標題嗎?
refer www.boost.org please:)
回復(fù) 更多評論
不錯,文章夠原創(chuàng)的。 回復(fù) 更多評論
而且涉及boost庫,又有技術(shù)含量。 回復(fù) 更多評論
只有注冊用戶登錄后才能發(fā)表評論。 | ||
【推薦】100%開源!大型工業(yè)跨平臺軟件C++源碼提供,建模,組態(tài)!
![]() |
||
網(wǎng)站導(dǎo)航:
博客園
IT新聞
BlogJava
博問
Chat2DB
管理
|
||
|