-
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
-
my_linux_command
说明: 一些linux下的指令用c语言的实现,希望对大家有用(Some Linux instructions with c language implementation)
- 2020-06-19 05:00:01下载
- 积分:1
-
att7053bu
本文件用于7053芯片的驱动程序,产品实际应用程序(Drivers This file is used for 7053 chip, the product practical application)
- 2015-12-14 22:15:30下载
- 积分:1
-
Windows设备驱动程序WDF开发(jb51.net)
本文件是windows驱动编程资料,供大家选用。(Windows Driver Programming Materials)
- 2019-01-09 16:04:21下载
- 积分:1
-
ramdisk
可以用内存虚拟一个磁盘出来,例子中用了1M。(use memory to produce a disk,but can t too large)
- 2012-03-04 16:15:01下载
- 积分:1
-
at1024c
AT24C1024驱动程序,可以跨页读写的标准程序(AT24C1024 driver, you can read and write across standard program page)
- 2021-03-22 10:09:16下载
- 积分:1
-
usb-to-serial-port-driver
usb转串口驱动 xp版 win7版 vista版(usb to serial port driver xp edition win7 vista version)
- 2012-10-26 22:23:19下载
- 积分:1
-
mi
说明: 学习PCI设备驱动结构的最好例子,简单易懂,很快入门(NT Driver)
- 2010-05-08 08:13:12下载
- 积分:1
-
WDK开发了PCI驱动 WDM_PCI_Driver
基于WDK开发了PCI驱动。根据读取PCI配置空间,可以得到PCI设备的所有资源。(The project is used for PCI driver.)
- 2020-06-27 00:20:01下载
- 积分:1
-
Articles_Drivers
Introduction in architecture of OS Windows NT and programming of drivers.
- 2009-06-20 04:55:24下载
- 积分:1