登录
首页 » C++ » C++多线程函数

C++多线程函数

于 2022-07-27 发布 文件大小:10.67 kB
0 108
下载积分: 2 下载次数: 1

代码说明:

本文件是一个C++多线程例子,很多初学者都不懂C++多线程是什么,更不知道C++多线程的线程函数和如何向线程函数传入参数,本例子简单明了的说明了以上问题,欢迎下载后觉得好给个好评!!!

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

发表评论

0 个回复

  • EM78P468_C
    EM78P468单片机的参考代码,C语言编写,还有详细的代码说明(EM78P468 Singlechip reference code, C language, as well as a detailed description of the code)
    2008-12-15 10:26:53下载
    积分:1
  • DrvSpace
    利用mfc制作一个可以显示磁盘使用状况的对话框,供初学者学习对话框的制作以及与系统资源交互的编程方法。(The use of mfc create a disk usage can display the dialog box, for beginners to learn the production of the dialog box, as well as interact with the system resources programming method.)
    2009-09-05 08:42:38下载
    积分:1
  • dflash
    AURIX TC297 flash 驱动例程(AURIX TC297 flash operation demo)
    2021-01-08 11:08:52下载
    积分:1
  • ECSBL
    说明:  该程序实现二叉树的遍历功能,能够打印出二叉树的节点(The program realization of the binary tree traversal function, is capable of printing out the binary tree node)
    2008-11-13 15:50:49下载
    积分:1
  • virtual-memory-allocation--tracking
    说明:  编写一个程序,包括两个线程,一个线程用于模拟内存分配活动,另一个用于跟踪第一个线程的内存行为,要求两个线程之间通过信号量实现同步,模拟内存活动的线程可以从一个文件中读出要进行的内存操作。将VirtualAlloc函数的参数flAllocationType分别设置为MEM_RESET,MEM_TOP_DOWN,将flProtect参数分别设置为PAGE_GUARD,PAGE_NOACCESS,PAGE_NOCACHE,执行并查看内存分配的结果。(Write a program that consists of two threads, one thread is used to simulate the memory allocation activities, one for tracking the memory behavior of the first thread, requiring between two threads synchronize through semaphores to simulate the activities of the thread of memory from a read the file memory operations to be carried out. FlAllocationType the VirtualAlloc function parameters were set to MEM_RESET, MEM_TOP_DOWN, will flProtect parameters are set to PAGE_GUARD, PAGE_NOACCESS, PAGE_NOCACHE, execute and view the results of memory allocation.)
    2011-04-14 10:08:23下载
    积分:1
  • 用C语言实现了快速排序算法的非递归实现,方法比较有创意,有需要的可以研究一下...
    用C语言实现了快速排序算法的非递归实现,方法比较有创意,有需要的可以研究一下-this is a C programme writed by C.
    2022-03-11 15:35:32下载
    积分:1
  • PWM.X
    实现双路均流,并且实现双环控制,使输出电压稳定(Realize two-way current sharing and double-loop control to stabilize the output voltage)
    2020-06-17 19:40:01下载
    积分:1
  • 三相变频变幅逆变电源
    说明:  通过STM32来控制三相电的频率参数,输出稳定装置采用软开关,有过流保护等保护措施。。(Through STM32 to control the frequency parameters of the three-phase electricity, the output stability device USES soft switch, overcurrent protection and other protection measures.)
    2020-06-22 21:00:01下载
    积分:1
  • MPI环境下实现梯形积分的算法
    MPI是一个跨语言的通讯协议,用于编写并行计算机。支持点对点和广播。MPI是一个信息传递应用程序接口,包括协议和和语义说明,他们指明其如何在各种实现中发挥其特性。
    2022-01-22 01:39:45下载
    积分:1
  • C#图书管理系统源代码适合新手
    适合新人练手的图书管理系统源代码,附有数据库加载文件,但需要自行添加与完善,代码比较全,登陆帐号与密码都是admin,只有超级管理员跟管理员
    2022-02-05 03:50:34下载
    积分:1
  • 696518资源总数
  • 105570会员总数
  • 13今日下载