有个部落

一晃就半个十年,思念如潮...
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年1月25日

摘要: http://www.cppblog.com/sandy/archive/2009/02/14/2320.htmlPostThreadMessage的原型是这样的 BOOL PostThreadMessage(DWORD idThread, UINT Msg, WPARAM wParam, LPARAM lParam);PostThreadMessage可 以用于线程之间的异步通讯,因为它不用等待调用者返回,这也许是线程通讯中最简单的一种方法了。但是要注意以下问题1 .PostThreadMessage有时会失败,报1444错误(Invalid thread identifier. )其实 阅读全文

posted @ 2011-01-25 23:21 Leo.W 阅读(409) 评论(0) 推荐(0) 编辑

摘要: http://software.intel.com/en-us/articles/8-simple-rules-for-designing-threaded-applications/8 Simple Rules for Designing Threaded Applications by Clay Breshears Intel Software College Introduction The Threading Methodology used at Intel has four major steps: Analysis, Design & Implementation, Debu 阅读全文

posted @ 2011-01-25 00:14 Leo.W 阅读(214) 评论(0) 推荐(0) 编辑