-
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
-
demod_rtl2832
玩软件无线电的时候,用的rtl2832,这是它的驱动源码(When playing software radio with rtl2832, this is the driver source)
- 2013-03-31 22:18:52下载
- 积分:1
-
linux-kernel-diagram
linux内核图解,对内核的数据结构、函数调用关系,采用图解的方式给出了详细描述。(linux kernel diagram,includes data struction, functions.)
- 2012-05-08 22:11:29下载
- 积分:1
-
wis-sony-tuner
WIS Sony TV Tuner I2C driver.
- 2013-04-02 10:17:16下载
- 积分:1
-
95DDK
Windows 95 (RTM)/95a (OSR1)/95B (OSR2.0)/95C (OSR2.5) Complete DDK 32-bit
- 2020-06-25 19:00:01下载
- 积分:1
-
Ramdisk_WDF
一个虚拟内存盘的WDF驱动程序,支持Win8.1 x64(需要关闭驱动签名,UAC运行CMD) 、x32 (A virtual memory disk WDF driver support Win8.1 x64 (need to turn off the signature drive, UAC run CMD), x32)
- 2021-05-16 18:30:07下载
- 积分:1
-
VS1003_KEIL
说明: 这是vs1003的驱动代码,通过keil编译(this is vs1003 code)
- 2009-08-29 16:48:44下载
- 积分:1
-
SVGFEImage
SVG FE Image Source Code for linux QT Interface Driver.
- 2013-07-25 21:53:01下载
- 积分:1
-
saa7146_core
saa7146.o - driver for generic saa7146-based hardware
- 2013-04-11 18:08:50下载
- 积分:1
-
Fibonaccisequence
个函数的功能是构建一个 n 项的菲波那契数列(A function of its functions is to build a n of the Fibonacci series)
- 2016-02-17 22:15:12下载
- 积分:1