-
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
-
b03
本软件为ZX831,版本为B03.适用以正先ZX831大方蓝。可用作升级软件,也可用作主程序,用烧录器写。解压密码为shijkll(The software for the ZX831, version B03. To apply a generous ZX831 was the first blue. Can be used to upgrade the software, but also can be used as the main program, with the burner to write. Extract password shijkll)
- 2009-12-03 09:43:51下载
- 积分:1
-
一个读取硬盘序列号与CPU序列号的DLL
VC写的,一个读取硬盘序列号与CPU序列号的DLL,大家可以利用它来为自己的软件提供保护机制。(VC written by a reader drives and CPU serial number sequence, the DLL, you can use it for its own software to provide protection mechanisms.)
- 2005-05-02 16:36:26下载
- 积分:1
-
5956444spwm20170327
脉宽调制,亲自调试通过,是一个很好学习的资料(Pulse width modulation, self-testing, is a very good learning material.)
- 2020-06-17 04:40:01下载
- 积分:1
-
dao_sample
dao例子(Dao example)
- 2002-04-19 09:18:04下载
- 积分:1
-
udp
利用socket技术,实现了局域网之间的通信,两个客户端之间可以相互聊天(Socket technology, communication between the LAN between the two clients can chat with each other.
)
- 2012-05-06 09:10:59下载
- 积分:1
-
RefrainChild
限定MDI子框架窗口的最大、最小尺寸,C++精选学习源码,很好的参考资料。(Defining the maximum, minimum size MDI sub frame window, select learning C++ source code, a good reference.)
- 2013-11-27 07:27:10下载
- 积分:1
-
my_HideReg
冰刃下隐藏注册表
最亲朋的隐藏技术,请不要用于不法目的。学习研究的(Under the most hidden registry冰刃friends hidden technology, please do not for the unlawful purpose. Study of)
- 2007-11-12 22:19:05下载
- 积分:1
-
fsdfsfsgfgrfbfrshsdsfh
用visual c++编缉的一个N阶螺旋幻方程序,实现幻方功能。(with visual c editing of a spiral bands N magic square procedures, functions magic square.)
- 2007-07-09 23:34:59下载
- 积分:1
-
AdoDBDemo
将db文件夹放在c盘根目录 这是用VC 使用ADO访问数据库 有对数据库的最基本的操作(will db folder on c occurs, it is made using VC ADO database of the basic database operations)
- 2004-12-15 19:42:46下载
- 积分:1