文件名称:thread
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.84kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1 编写单进程多线程程序,实现一个线程A将另外一个线程B的从标准输入的字符串反序输出。
2 编写单进程多线程程序,用信号量实现一个线程A随机生成一个0-100的整数,另外一个线程B将此数平方后打印输出,要求每秒钟显示一次。
3 编写单进程多线程程序,用互斥锁实现一个线程A随机生成一个0-100的整数,另外一个线程B将此数平方后打印输出,要求每秒钟显示一次。-A single process writing multi-threaded program, implement a thread A thread B will be another string from standard input output in reverse order. 2 single-process multi-threaded programs written using semaphore to implement a thread A generates a random integer 0-100, another thread B after this number of square printed output, requires a second display. 3 single-process multi-threaded programs written using a thread mutex to achieve a 0-100 A randomly generated integer, another thread B after this number of square printed output, requires a second display.
2 编写单进程多线程程序,用信号量实现一个线程A随机生成一个0-100的整数,另外一个线程B将此数平方后打印输出,要求每秒钟显示一次。
3 编写单进程多线程程序,用互斥锁实现一个线程A随机生成一个0-100的整数,另外一个线程B将此数平方后打印输出,要求每秒钟显示一次。-A single process writing multi-threaded program, implement a thread A thread B will be another string from standard input output in reverse order. 2 single-process multi-threaded programs written using semaphore to implement a thread A generates a random integer 0-100, another thread B after this number of square printed output, requires a second display. 3 single-process multi-threaded programs written using a thread mutex to achieve a 0-100 A randomly generated integer, another thread B after this number of square printed output, requires a second display.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
thread1.c
thread2.c
thread.c
thread2.c
thread.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.