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

c++ 线程类 thread

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

  • DS18B20_0711
    TM4C123系列芯片读取DS18B20的数值并通过串口发送数据。(TM4C123 tiva ware micro-controller reads DS18B20 value and sends it through UART)
    2014-07-26 20:04:53下载
    积分:1
  • cc2592EM
    说明:  CC2592 hex fie for 6lowpan
    2019-05-11 15:26:53下载
    积分:1
  • xyz调制解调器用于bootrom或其他程序
    extern int xyzModem_stream_open(connection_info_t *info, int *err);extern void xyzModem_stream_close(int *err);extern void xyzModem_stream_terminate(bool method, int (*getc)(void));extern int xyzModem_stream_read(char *buf, int size, int *err);extern char *xyzModem_error(int err);
    2022-08-25 21:13:51下载
    积分:1
  • LBGwlee
    这是我写的用c语言实现LBG算法的一个程序。LBG算法是语音信号处理中一种矢量量化的方法。我的邮箱:wleechina@163.com(This is what I wrote with C Language LBG algorithm a procedure. LBG is the voice signal processing a vector quantization method. My mail : wleechina@163.com)
    2006-10-11 17:10:08下载
    积分:1
  • CameraDs
    利用摄像头+DirectShow实现预览和实时拍照功能,其中有一个视频监控编程很有用的类,通过该类可以很好的实现实时监控,还有拍照功能,为以后的监控系统打下良好的基础!!具有良好示范的作用-(The use of camera+ DirectShow implementation and real-time camera preview function, including a video surveillance program very useful class, through the class can be a very good real-time monitoring, as well as camera functionality, for future monitoring system and lay a good foundation for ! ! Has a good role model)
    2020-12-23 18:09:07下载
    积分:1
  • WINNER II模型源代码
    The channel modeling work package WP1 provides a Matlab implementation of the WINNER Phase II Model (referred as WIM this onward). The main purpose of the WIM channel models is to generate a radio channel realisations for a link and system level simulations. The implementation is based on the earlier implementations of WINNER II interim model [2], WINNER I (interim) model [4], 3GPP/3GPP2 Spatial Channel Model (SCM) [5] and SCM(E) Extension models. For details concerning the WIM model, please refer to [1]. This document describes the SW implementation structure of WIM, its input/output interface and its functionality.
    2022-07-18 16:34:58下载
    积分:1
  • Chap1
    C++应用编程,你可以在此找到C++编程的许多例子(C++ Application programming, you can find C++ Programming many examples)
    2008-01-01 14:16:01下载
    积分:1
  • EKF_PF
    说明:  扩展卡尔曼滤波与粒子滤波滤波性能比较的源程序(Extended Kalman filter and particle filter source)
    2011-04-18 09:08:21下载
    积分:1
  • wk_dz
    Visual C++案例开发集锦第六章\获取网卡地址的程序源码,值得一看!(Visual C++ case development highlights Chapter to obtain the Ethernet address of the program source code, worth a visit!)
    2011-08-13 16:07:33下载
    积分:1
  • 四元数解算姿态完全解析及资料汇总(3)
    基于互补滤波器的四旋翼飞行器姿态解算 四元数解算姿态完全解析 惯性导航等相关资料(Attitude Solution of Four-Rotor Vehicle Based on Complementary Filter Quaternion Solution Attitude Complete Analysis Inertial navigation and other related information)
    2020-06-23 06:40:01下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载