登录
首页 » Windows开发 » a general purpose class for multithreaded applications. Derive your class from i...

a general purpose class for multithreaded applications. Derive your class from i...

于 2023-02-05 发布 文件大小:1.45 kB
0 55
下载积分: 2 下载次数: 1

代码说明:

a general purpose class for multithreaded applications. Derive your class from it, call the constructor with the proper number of threads and populate the lpfns member before starting threads. The main advantage is that you do not need to bother with the details of making the static method separate from your class and then passing the this pointer to it. CMultithreaded allows you to have all of your class methods in-class, even if they are to be run on separate threads. It is also a good example of RAII.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696521资源总数
  • 104062会员总数
  • 3今日下载