-
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
-
dqueue-
Driver for Eicon DIVA Server ISDN cards.
- 2013-03-16 23:27:21下载
- 积分:1
-
AODV-DSR-MATLAB
一种源驱动路由协议。当一个节点需要给网络中的其他节点传送信息时,如果没有到达目标节点的路由,则必须先以多播的形式发出RREQ(路由请求)报文。(Ad hoc On-demand Distance Vector Routing)
- 2021-02-02 11:00:00下载
- 积分:1
-
AudioDumpInterface
Audio Dump Interface (AudioHardwareInterface hw) for linux Device Driver.
- 2013-06-24 14:17:07下载
- 积分:1
-
K60MCU-USBDevice
codewarrior环境下k60处理器的usb-otg作为usb设备的驱动(CodeWarrior environment k60 processor USB-OTG drive as a USB device)
- 2013-04-18 17:27:05下载
- 积分:1
-
capture-mod
File system filter driver, registry filter driver and other kernel and user level tools for capturing user activity on a windows based computer.
- 2009-10-26 05:33:41下载
- 积分:1
-
etoms
Etoms Et61x151 GPL Linux driver by Michel Xhaard (09/09/2004)
- 2013-03-20 12:49:17下载
- 积分:1
-
isl6421
driver for lnb supply and control ic ISL6421.
- 2013-03-24 19:55:45下载
- 积分:1
-
filespy
文件系统过滤驱动,检测文件IO操作。可参照编写透明加密软件(The file system filter driver to detect the file IO operations. Refer to the preparation of transparent encryption software)
- 2009-09-24 12:10:31下载
- 积分:1
-
uc1698-160160
uc1698驱动160*160点阵液晶,多级菜单显示程序(uc1698 160* 160 dot matrix LCD driver, multi-level menu program)
- 2021-03-02 09:39:34下载
- 积分:1