-
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
-
zfcp_unit
zfcp device driver Tracking of manually configured LUNs and helper functions to register the LUNs with the SCSI midlayer for linux.
- 2013-04-01 22:15:14下载
- 积分:1
-
SysDriverLoad
通过SCManager的一系列方法,实现了加载sys文件驱动的功能,安装到系统服务中。(Through a series of SCManager method to achieve a load sys file-driven functionality, install system services.)
- 2014-03-21 15:54:27下载
- 积分:1
-
orion5x
PCIe WA space (Orion-1 Orion-NAS only).
- 2015-05-13 15:58:11下载
- 积分:1
-
WindowsDeviceDriverCode
说明: windows设备驱动开发,使用最新的WDF模型(windows Driver Development using WDF)
- 2010-04-07 10:29:29下载
- 积分:1
-
battery_common
电池驱动,mtk平台,kernel层代码(charge driver,mtk platform code of kernel)
- 2017-05-19 18:20:20下载
- 积分:1
-
woaidaima Driver2
以前的旧代码学习只用2017年的v bypassTP 我是在网搜的一些资料上传上来看啊可能(Previous old code learning only used the 2017 V bypassTP. I uploaded some of the information I searched online to see if it was possible.)
- 2020-06-21 14:00:02下载
- 积分:1
-
TFT-PROJECT
说明: 128 128 TFT 屏的驱动 可以话直线 圆等等 还有assic字库调用 7*14大小(128 128 TFT screen, then drive straight round, and so there can be assic call 7* 14 size font)
- 2011-04-11 18:28:46下载
- 积分:1
-
NtUserCallOneParam
驱动级防止关机!秒杀普通用户,O(∩_∩)O哈哈~(driver to stop system shutdowm)
- 2021-03-31 22:49:08下载
- 积分:1
-
USB-Switch
通过修改注册表实现USB接口的打开和禁用(USB interface s disable and open)
- 2014-03-15 22:44:14下载
- 积分:1