#thread同步测试 1 编译运行附件中的代码,提交运行结果截图,并说明程序功能 2 修改代码,把同步资源个数减少为3个,把使用资源的线程增加到 (你的学号%3 + 4)个,编译代码,提交修改后的代码和运行结果截图。 ##一 ###代码 点击查看代码 #include <stdio.h> #inc Read More
posted @ 2021-11-15 11:13 绒绒的欧嘛harper Views(43) Comments(0) Diggs(0) Edit
#thread互斥测试 编译运行附件中的代码,并说明程序的功能 根据自己的理解,提交不少于3张图片 ##代码 #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <ctype.h> struct arg_set { Read More
posted @ 2021-11-15 10:57 绒绒的欧嘛harper Views(46) Comments(0) Diggs(0) Edit
*/