文件名称:3sw(pthread)
-
所属分类:
- 标签属性:
- 上传时间:2016-01-04
-
文件大小:13.37kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
实验要求作到以下几点:
①构造具有两个参数的子函数,子函数将首个指针参数中的各个元素进行排序,次参数传递的是收参数的元素数目;
②f2.c:设计具有俩参数的子函数,子函数将二参数值交互; ③实现主函数,主函数中创建俩线程,线程一定义一个十元素的数组,使用文件f1中定义的函数对数组排列顺序并能够使结果输出;线程2定义俩整形的变量,使用文件f2中定义的函数将二变量的值进行 交互而且要结果输出 -The experimental requirements do the following:
① structure has two parameters of sub function, sub function will be ordered by the various elements in the first pointer parameter, time parameter is to collect the number of element parameters
②f2. C: the design of sub function has two parameters, sub function parameter value interaction ③ to achieve the main function, the main function of creating two threads, thread a define an array of ten elements, use the function defined in the file f1 to array the order and be able to make the output Thread 2 the plastic of the two variables, using the file f2 defined in the function of the two variables value interaction and result output
①构造具有两个参数的子函数,子函数将首个指针参数中的各个元素进行排序,次参数传递的是收参数的元素数目;
②f2.c:设计具有俩参数的子函数,子函数将二参数值交互; ③实现主函数,主函数中创建俩线程,线程一定义一个十元素的数组,使用文件f1中定义的函数对数组排列顺序并能够使结果输出;线程2定义俩整形的变量,使用文件f2中定义的函数将二变量的值进行 交互而且要结果输出 -The experimental requirements do the following:
① structure has two parameters of sub function, sub function will be ordered by the various elements in the first pointer parameter, time parameter is to collect the number of element parameters
②f2. C: the design of sub function has two parameters, sub function parameter value interaction ③ to achieve the main function, the main function of creating two threads, thread a define an array of ten elements, use the function defined in the file f1 to array the order and be able to make the output Thread 2 the plastic of the two variables, using the file f2 defined in the function of the two variables value interaction and result output
(系统自动生成,下载前可以参看下载内容)
下载文件列表
3sw(pthread)/
3sw(pthread)/f1.c
3sw(pthread)/f1.c~
3sw(pthread)/f1.h
3sw(pthread)/f1.h~
3sw(pthread)/f1.o
3sw(pthread)/f2.c
3sw(pthread)/f2.c~
3sw(pthread)/f2.h
3sw(pthread)/f2.h~
3sw(pthread)/f2.o
3sw(pthread)/fg
3sw(pthread)/Makefile
3sw(pthread)/Makefile~
3sw(pthread)/sw
3sw(pthread)/swa.c
3sw(pthread)/swa.c~
3sw(pthread)/swa.o
3sw(pthread)/f1.c
3sw(pthread)/f1.c~
3sw(pthread)/f1.h
3sw(pthread)/f1.h~
3sw(pthread)/f1.o
3sw(pthread)/f2.c
3sw(pthread)/f2.c~
3sw(pthread)/f2.h
3sw(pthread)/f2.h~
3sw(pthread)/f2.o
3sw(pthread)/fg
3sw(pthread)/Makefile
3sw(pthread)/Makefile~
3sw(pthread)/sw
3sw(pthread)/swa.c
3sw(pthread)/swa.c~
3sw(pthread)/swa.o
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.