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

c++ 线程类 thread

于 2022-05-28 发布 文件大小:8.51 kB
0 96
下载积分: 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 个回复

  • BindFile
    说明:  Visal c++二进制文件合并,功能非常好用(Visal c++ Binary file merging is very easy to use)
    2008-09-08 13:39:27下载
    积分:1
  • 交通灯protues仿真程序
    交通灯的设计开发,实现道路交通的智能控制,可以根据道路实际情况改变通行时间(The design and development of traffic lights can realize the intelligent control of road traffic, and change the passage time according to the actual situation of the road)
    2020-06-26 20:00:02下载
    积分:1
  • opengl
    OpenGL的一些中文入门资料(电子书)和示例程序,代码(OpenGL some Chinese introductory information (e-Book) and sample program, code.)
    2018-10-17 16:18:59下载
    积分:1
  • 修复ncurses-6.0报错
    ncurses-6.0编译在这一行报错:../include/curses.h:1631:56: ??: in definition of macro "mouse_trafo 原因为curses.h多个一个comment,删除它修复编译报错
    2022-01-24 09:56:54下载
    积分:1
  • C#写的一个xml解析的小程序,编译运行后,读入po.xml,控制台输出解析结果...
    C#写的一个xml解析的小程序,编译运行后,读入po.xml,控制台输出解析结果-C# written xml parsing tool, compile and run, read po.xml, outout to the console
    2023-07-14 23:15:03下载
    积分:1
  • 20023150021
    编译原理 的词法分析,花了很长时间编的,不过还是有点简单,可供初学者参考 (compiler tenets of lexical analysis, spent a lot of time series, but is still somewhat simple reference for beginners)
    2005-04-18 01:21:54下载
    积分:1
  • LLT User Guide
    This document describes the installation process and the implementation of the Local Loading Tool (LLT). This tool allows the user to download software components or parameter files in the terminals with TELIUM technology.
    2019-02-11 14:07:42下载
    积分:1
  • A20音视频编解码库
    A20的音视频开发库,附带说明文档
    2022-05-26 07:11:30下载
    积分:1
  • PCA.Timer.PWM.16bit-2014-4-19
    PCA或Timer做软件PWM最高精度到16位(PCA or software Timer do the highest accuracy to 16-bit PWM PCA or software PWM Timer do the highest accuracy to 16)
    2015-08-19 17:56:38下载
    积分:1
  • prewitt边缘检测算法
    此程序为prewitt边缘检测算法的C++代码,从代码中可以看到prewitt边缘检测算法的基本原理。
    2023-05-26 10:50:03下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载