文件名称:pthread.c
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:646byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
利用pthread,使用者在命令列輸入,程序將產生一個個別行程產生費式數目,置串列為資料型態且被執行緒共享.當執行緒完成執行,由父行程輸出子行程的串列.因為父行程不再一開始就輸出費氏序列,需等待子行程完成
命令列:
gcc hw2.c -lpthread-Use pthread, the user at the command line input, the program will produce a resulting fee amount for the individual trip, set serial for the data types which have been threaded to share. When the thread to complete execution, the output sub-trip travel from the parent serial . because the parent is no longer a journey' s beginning sequence of the output charge is required to wait for child process to complete the command line: gcc hw2.c-lpthread
命令列:
gcc hw2.c -lpthread-Use pthread, the user at the command line input, the program will produce a resulting fee amount for the individual trip, set serial for the data types which have been threaded to share. When the thread to complete execution, the output sub-trip travel from the parent serial . because the parent is no longer a journey' s beginning sequence of the output charge is required to wait for child process to complete the command line: gcc hw2.c-lpthread
(系统自动生成,下载前可以参看下载内容)
下载文件列表
pthread.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.