-
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
-
3DGPL
饱含了基本的3D图形库,可以运行在MS DOS环境(contains C sources of a portable basis 3-D library compilant under
MS-DOS(WATCOM-C,DJGPP,BORLAND-C),MS-WINDOWS, X-WINDOWS and NeXTStep,)
- 2012-09-25 09:27:13下载
- 积分:1
-
M16_T2_RTC
说明: 这是我自己编的程序 大家帮忙看一下 看有那些不好的指点一下(This is my own procedure to help you look at those to see what bad advice)
- 2009-07-22 16:04:31下载
- 积分:1
-
C#编程实例与技巧
本书运用大量新颖,实用的实例,让学生可以在不断地实践操作中学习,掌握C#的具体应用方法和编程技巧。即可以作为C#初学者入门的自然读物,也可以作为程序员的实例练习集。特别对与C#初学者,具有很高的借鉴价值。
- 2022-05-27 14:59:34下载
- 积分:1
-
A-letter-home
一封家书。实现类的集成以及多态性,很好的练习题目。实现家书书写版本(A letter home. Achieve integration and polymorphism, practice questions. Letter writing version)
- 2016-02-14 18:57:36下载
- 积分:1
-
testallocator
说明: 模拟c++在使用容器时的内存分配,平台为vs(Simulate the memory allocation of c++ when using containers. The platform is vs.)
- 2020-06-17 18:00:02下载
- 积分:1
-
Goods_and_materials_information_management_system
这是一个用C#编写的和一个access数据库相联系的物资管理系统.用VS2005开发(This is a prepared using C# and an access database linked to the materials management system. Use VS2005 to develop)
- 2009-03-31 00:23:45下载
- 积分:1
-
test
在tx2 通过pcie接口采集数据,测试demo。(Acquisition of data through PCIe interface in TX2)
- 2021-05-07 00:58:36下载
- 积分:1
-
read-grade-calculate-average-grade
可以从一个txt文件中读取出若干个学生的各科成绩,并且计算出每科的平均成绩。对学生的成绩进行排序,还可以显示出每科的最高分。并且可以生成txt文件把这些结果用储存起来。(It can read a number of students grades in all subjects a txt file, and calculate the average score for each subject. Sort on student achievement, but also can show the highest score for each subject.Besides
,it can generate txt files to store theses results.)
- 2015-01-24 18:17:12下载
- 积分:1
-
ucGUI_Kenal
说明: 图形接口ucGUI的内核的详细说明手册中文版(Graphics interface of the core ucGUI detailed instruction manual Chinese edition)
- 2008-09-20 15:04:33下载
- 积分:1