-
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
-
清华同方X46H刷新BIOS
说明: 清华同方X46H这款机器比较老了,之前的BIOS不具备硬件虚拟化功能,导致VMware用不了,刷新BIOS后问题解决。(Tsinghua Tongfang X46H this machine is relatively old, the previous BIOS does not have hardware virtualization features, resulting in VMware can not be used, the problem is solved after flashing the BIOS.)
- 2019-04-01 16:17:37下载
- 积分:1
-
wdm
WDM网络的模拟,包括dijkstra算法,波长变化和非变化下blocking的模拟等,给出了各个功能的API接口,可以在次基础上进行进一步的开发,(WDM network simulation, including dijkstra algorithm, wavelength blocking change and non-change under the simulation, given the various functions of the API interface, you can at times on the basis of further development,)
- 2013-11-19 13:14:39下载
- 积分:1
-
NumberObject
Number Object for linux QT API Driver.
- 2013-08-20 15:20:06下载
- 积分:1
-
CDROMControl
vc 程序可以实现关盘时的刻录程序。。。绝对能用!赶紧下载吧(vc program can be closed when the disc burning program. . . Absolutely can! Quickly download it)
- 2011-08-18 09:33:43下载
- 积分:1
-
ad2s1210
AD2S1210 并行读取角度与速度程序(AD2S1210 parallel read angle and speed program)
- 2021-03-18 10:39:20下载
- 积分:1
-
rtl8192CU_linux_v2.0.939.20100726.tar
Drivers for Realtek external wifi card
- 2015-02-22 22:21:06下载
- 积分:1
-
capture
Line6 Linux USB driver - 0.9.1beta.
- 2013-03-11 09:38:39下载
- 积分:1
-
BaseUsbHost_example-495f7536897b.tar
USB Host Driver for LPC1768.
- 2014-10-04 00:58:44下载
- 积分:1
-
ADV7511_ZedBoard
ADV7511接口驱动程序,用于Xilinx Zedboard开发板。其中main.c是主函数。该程序也可扩展到其他类型的电路板。(ADV7511 interface driver for Xilinx Zedboard development board. Can also be extended to other types of circuit boards.)
- 2013-06-26 07:42:14下载
- 积分:1