-
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
-
PCI-DMA
PCI视频采集的驱动程序,采用DMA方式实现数据到内存的传输(PCI,DMA)
- 2010-11-01 15:43:48下载
- 积分:1
-
mfcregdll
VB、VC混合编程中字符串的传递,源代码,使用VC制作动态库在VC、VB中使用。(VB, VC mixed programming string transmission, the source code, the use of VC production of dynamic libraries in VC, VB use.)
- 2007-10-31 21:06:40下载
- 积分:1
-
STM32F107-USB_device-examples-1.0
基于STM32f107的多种usb驱动和应用程序(STM32f107 multiple usb drive and applications)
- 2012-12-14 18:02:42下载
- 积分:1
-
RegMon_Source_Code
鼎鼎大名的Regmon的源码,使用驱动模式检测注册表变化!值得学习!(the Regmon the BBC source, the use of model-driven detection of the registry change! Worth learning!)
- 2007-06-25 20:58:03下载
- 积分:1
-
TEST-TPM1CH0
MC9S08AW60的定时器1输入捕获驱动程序(MC9S08AW60 Timer 1 input capture driver)
- 2014-03-10 14:41:24下载
- 积分:1
-
dm365_gpio_drv_yr
dm365gpio口驱动,编译成功,可以轮流输出高低电平.需要手动mknod,加载驱动后在命令行或在shell脚本里加入mknod /dev/dm365_gpio c 199 0(dm365gpio driver)
- 2014-09-21 23:04:54下载
- 积分:1
-
Electrical-appliances_drive
电机驱动加监,界面清晰,且实用,驱动后可以实时监控(Motor driver and supervisor, clear interface, and practical, can be real-time monitoring of driver
)
- 2012-04-16 11:09:23下载
- 积分:1
-
FilterTdi
一个简单的TDI驱动过滤模型可以自己添加要过滤的功能(A simple TDI filter driver model can add their own filtering function
)
- 2014-06-26 01:02:18下载
- 积分:1
-
9054-WDM-Driver
Windows2000/xp下plx9054的pci驱动(源码、工程文件),支持DMA操作。 使用ddk开发,工程可以直接编译。(plx9054 Driver under Windows2000/XP.
Developed by DDK.)
- 2011-12-30 22:01:57下载
- 积分:1