-
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
-
DMASample
基于WDF的DMA传输驱动,不需要硬件实现(WDF driver about DMA)
- 2012-04-17 20:52:47下载
- 积分:1
-
Chap14
WINDOWS驱动编程第二版例子代码第14章(WINDOWS driven programming second edition of the code examples in Chapter 14)
- 2010-07-20 11:31:09下载
- 积分:1
-
61509
LCD 驱动 stm32 R61509V(LCD stm32 R61509V)
- 2015-12-23 20:39:14下载
- 积分: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
-
PCI9052
说明: PCI9052光盘资料,内涵驱动程序,数据手册,英用程序,电路图(PCI9052 CD-ROM, meaning drivers, data sheet, the British use of procedures, circuit diagrams)
- 2008-09-03 00:29:44下载
- 积分:1
-
PCI2003
labview虚拟驱动程序要用到的动态链接库(LabVIEW virtual driver to use the dynamic link library)
- 2008-08-16 21:48:27下载
- 积分:1
-
ProtocolDriver
说明: 是网络的协议驱动源代码框架,对想过滤网络数据的初学者很有帮助(Is the network protocol driver source code framework, and would like to filter network data useful for beginners)
- 2010-04-10 14:33:22下载
- 积分:1
-
driver-load
说明: 驱动加载程序,可以通过这个程序动态加载驱动程序(sys)(Driver loader, you can dynamically load the driver program)
- 2011-03-02 15:15:25下载
- 积分: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