-
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
-
MAppStart
MIL Application Start
- 2011-05-25 15:16:24下载
- 积分:1
-
loadsys
一个简单的xp和2k3系统下加载驱动和卸载驱动的源码(Under a simple xp and 2k3 system load and unload the driver source drive)
- 2014-01-22 14:45:43下载
- 积分:1
-
porttalk+io
驱动源码,windows2k/xp能够读写端口(driver source code, can read and write ports windows2k/xp)
- 2007-04-12 16:40:48下载
- 积分:1
-
HIDEPROCESS
驱动隐藏进程源码 通过 SSTD 实现(Driver hidden processes the source code)
- 2016-12-05 15:55:54下载
- 积分: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
-
MC600_SDK_CHS
该程序为一款电动平移台驱动程序,适用于北京卓立汉光有限公司生产的任一款电动平移台。具有界面简单,容易理解,便于操作的特点。可以实现对平台的平移控制及参数的控制。(The program is an electric translation stage driver, applies to any Zhuoli Han Guang Limited production of an electric translation stage. Has a simple interface, easy to understand, easy to operate features. Platform for translational control and parameter control.)
- 2012-05-16 09:10:26下载
- 积分:1
-
basic_driver
DS编写基于ISA插槽的,数据采集卡驱动程序,包含基本的中断,I/O读写(failed to translate)
- 2009-03-23 14:02:13下载
- 积分:1
-
PWM
PWM driver with own changes
- 2012-05-14 15:25:49下载
- 积分:1
-
Example
epos 24/5控制器编程例子,非常方便学习和使用(A epos 24/5 programming examples with VB, which is very convenient to learn and use.
)
- 2013-01-26 17:31:50下载
- 积分:1