登录
首页 » C++ » c++ 线程类 thread

c++ 线程类 thread

于 2022-05-28 发布 文件大小:8.51 kB
0 86
下载积分: 2 下载次数: 1

代码说明:

自己写的方便好用的线程类,用于当做线程工作类的基类,类内部有线程安全锁,代码经过多次测试,稳定可用。可用于多线程同步使用。并且包含线程池,的功能。thread有如下方法。  /// 创建线程  void  Create(long times = -1, long waiteTime = 0, bool includeTaskTime = false);  /// 继续执行挂起的线程  void  Resume(void);  /// 挂起线程  void  Suspend(void);  /// 设置参数使主函数退出以销毁线程  void  Destroy(void);  /// 调用WindowsAPI强制结束当前线程  void  ForceEnd(void); 绝对好用,都舍不得拿出来的。

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

发表评论

0 个回复

  • 设备管理器
    windows系统硬件设备管理(监视,启用,禁用)源代码,hhlib应用,c#通过win32api对实现对硬件的操作,包括设备驱动的卸载安装禁用等等功能,超强
    2022-10-28 07:40:03下载
    积分:1
  • Beyond-the-CPP-STL
    Boost 带领你远远地超越了C++标准库,它使得C++编程更优雅、更有活力、更高产。首先, 我们系统地介绍一下Boost 库的主要组成和它们的主要用法。(Boost lead you far beyond C++ standard library, it makes C++ programming more elegant, more dynamic, more productive. First, we introduced a major component of the Boost libraries and their usage.)
    2013-04-26 14:05:00下载
    积分:1
  • Animation_circle
    说明:  画一个圆,然后使物体沿这个圆运动,并且可以加速与减速(Draw a circle, and then make the object along the circular movement, and can accelerate and decelerate)
    2011-02-23 15:28:08下载
    积分:1
  • F410smaRTClock-RAMDATA
    F410smaRTClock读和写RAMDATA(F410smaRTClock read and write RAMDATA)
    2013-04-25 09:59:54下载
    积分:1
  • testVTK_ITK
    VTK8.0,ITK联合编译测试代码,编译环境VS2017,采用C++语言,内含属性表,无需使用CMake进行编译,能够成功运行(VTK and ITK compile and test code)
    2020-07-10 15:18:56下载
    积分:1
  • IAPWS-IF97
    说明:  IAPWS-IF97 c语言实现 计算水或水蒸汽各性质(IAPWS-IF97 c for water /stream P/T)
    2020-11-29 16:39:29下载
    积分:1
  • matlabsin
    matlab6.5与vc的各种混编方式举例 包括 dll方式、引擎方式、com方式、以及vc调用simulink模型运行方式(matlab6.5 vc with the mixed mode, including dll example, the engine, com, as well as vc Simulink model called Operation Mode)
    2005-05-02 00:02:33下载
    积分:1
  • Matrice_ABCD
    说明:  surfacique courant coupleur 3db
    2019-01-07 06:20:21下载
    积分:1
  • chapter5
    一个关于短息防伪系统的C++数据库开发例程,数据库选用Access(An example of development of data base with C++)
    2012-08-04 15:30:00下载
    积分:1
  • MCMixedprogramming
    本光盘的程序是《MATLAB7.x与C/C++混合编程》配套的源程序,请对照该书使用(This CD is the procedure " MATLAB7.x with C/C++ mixed programming" complementary source, please use the control book)
    2013-08-26 21:54:07下载
    积分:1
  • 696518资源总数
  • 105908会员总数
  • 30今日下载