-
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
-
AudioDumpInterface
Audio Dump Interface (AudioHardwareInterface hw) for linux Device Driver.
- 2013-06-24 14:17:07下载
- 积分:1
-
Move-DC-Motor-Example
KNR的电机驱动与控制,实现电机的正反转,读取编码器的读数,设置电机的速度,读数位置。
需要有KNR(贝登堡公司生产)(With the KNR driver control motor, to achieve positive motor, read the encoder readings, set the speed of the motor, reading position.
The need for KNR (Baden Powell company))
- 2020-12-31 03:38:59下载
- 积分:1
-
QR-sample
QR编解码示意程序,帮助理解QR原理,C语言,适应多平台(QR codec indicate procedures, understand the principle.)
- 2013-09-05 16:17:12下载
- 积分:1
-
power_brushlessDCmotor
说明: 一个风电仿真程序,现在这个东西不好找啊!(Simulation of a wind power program, and now this thing不好找ah!)
- 2021-03-27 11:09:12下载
- 积分:1
-
Solution
在VS2012+WDK8.0上面编写的PCI的驱动程序,采用的是WDF最新型框架程序,成功运行。(In VS2012+WDK8.0 written above PCI drivers, using the latest WDF framework program run successfully.)
- 2014-01-05 14:35:59下载
- 积分:1
-
echo
A line echo canceller. This code is being developed driver for Linux. against and partially complies with G168 driver for Linux.
- 2013-03-19 12:47:08下载
- 积分:1
-
FontPlatformDataQt
Font Platform Data for linux Interface Driver.
- 2013-07-12 14:08:58下载
- 积分:1
-
ibmphp_core
IBM Hot Plug Controller driver for Linux.
- 2013-03-22 23:18:06下载
- 积分:1
-
speakup_acntpc
This driver is for the Aicom Acent PC internal synthesizer.
- 2013-02-28 10:58:14下载
- 积分:1