-
Pthread-of-linux
在linux环境下编写一个控制台应用程序,程序中有一个共享的整型变量shared_var,初始值为0;创建一个线程并使其立即与主线程并发执行。新创建的线程与主线程均不断地循环,并输出shared_var 的值。主线程在循环中不断地对shared_var 进行加1操作,即每次循环shared_var 被加1;而新创建的线程则不断地对shared_var 进行减1 操作,即每次循环shared_var 被减1。观察程序运行的结果,并对你看到的现象进行解释。(Written in the linux environment a console application, the program has a shared integer variable shared_var, the initial value of 0 create
A thread and make it run concurrently with the main thread immediately. The newly created thread and main thread are constantly circulating, and the output shared_var
Value. The main thread in a loop constantly on shared_var are incremented, that is plus 1 for each cycle shared_var and the new line created
Process is constantly on the shared_var decremented, that is, each cycle shared_var is decreased by 1. Observe the results of running the program, and you
To explain the phenomenon seen.)
- 2011-12-08 11:21:25下载
- 积分:1
-
ECET
三轴联动数控上位机控制程序,基于美国PARKER运动控制器,适合数控学者使用(Axis linkage CNC PC control program, based on the United States PARKER motion controller for CNC scholars)
- 2012-09-28 21:30:21下载
- 积分:1
-
exata5.X-SOURCE-DEBUG
描述了exata 5.4 源码的调试方法,以及如何导入studio(Describes the EXATA 5.4 source code debugging method)
- 2016-12-04 12:22:33下载
- 积分:1
-
myWDK
这是一个C++驱动级内存读写源码,可以实现读写一些受保护游戏的内存。。(This is a C++ source code to read and write memory drive level, you can read and write some of the protected memory game.)
- 2014-12-06 09:43:51下载
- 积分:1
-
FileFilter
一个简单的U盘过滤器驱动程序,能够实现使得U盘只读功能(A simple U-disk filter driver, can be achieved making the U-disk read-only function)
- 2011-08-17 10:08:21下载
- 积分:1
-
2
说明: this is my first program that whil share with you
- 2009-11-17 15:03:03下载
- 积分:1
-
Robotoos2d-kharazmi88-Fix.tar
trilearn (Robotoos2d kharazmi88-Fix)
Source Code Team Robotoos2d kharazmi88 iran
First Competition Kharzmy
- 2011-12-06 07:17:39下载
- 积分:1
-
LPC2368NORFlash
详细编写了大容量FLASH的代码,可以作为参考示例(The preparation of a large capacity FLASH code can be used as the reference sample)
- 2012-07-16 15:17:04下载
- 积分:1
-
WDM_Driver
windows驱动详解张帆著 第一章 源码 wdm_driver,非常详细适合入门级的驱动开发(Detailed sails windows driver source code with the first chapter wdm_driver, very detailed for entry-level driver development)
- 2013-10-23 10:59:55下载
- 积分:1
-
PCI9054_IO_Read_Write_Operation_Use_DriverStudio
PCI9054实现IO读写操作 非常好 PCI9054实现IO读写操作 非常好(PCI9054 IO read and write operations to achieve very good)
- 2011-01-13 14:22:09下载
- 积分:1