有个部落

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

01 2011 档案

摘要: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 阅读(420) 评论(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 阅读(216) 评论(0) 推荐(0) 编辑

摘要:http://blog.csdn.net/v_JULY_v/archive/2011/01/10/6127953.aspx 细数二十世纪最伟大的十大算法 译者:July二零一一年一月十日 ------------------------------------ 参考论文:The Best of the 20th Century: Editors Name Top 10 Algorithms。By Barry A. Cipra。 博主说明:1、此20世纪的十大算法,除了快速排序算法,或者快速傅立叶变换, 其它算法只要稍作了解即可。2、此文非最新文章,只是本人对算法比较感兴趣,所以也做翻译, 阅读全文

posted @ 2011-01-15 23:38 Leo.W 阅读(312) 评论(0) 推荐(0) 编辑

摘要:在多线程中使用UDP kraft @ 2005-05-10 21:20 来自:painboy, 时间:2004-8-8 11:34:40, ID:2754268 type TUdpThread = class(TThread) private FData : PChar; //数据区 FBytes : Integer; //数据区大小 FFromIP : string; //UDP的源地址 FFromPort : Integer; //UDP的源端口 public constructor Create(Buffer: PChar; NumberBytes: Integer; FromIP: S 阅读全文

posted @ 2011-01-11 12:08 Leo.W 阅读(649) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示