摘要: 题目 1.编译运行附件中的代码,提交运行结果截图,并说明程序功能 2.修改代码,把同步资源个数减少为3个,把使用资源的线程增加到 (你的学号%3 + 4)个,编译代码,提交修改后的代码和运行结果截图。 原代码运行 #include <stdio.h> #include <pthread.h> #in 阅读全文
posted @ 2022-11-09 14:33 20201319吴向林 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 题目要求 编译运行附件中的代码,并说明程序的功能 根据自己的理解,提交不少于3张图片 代码 #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <ctype.h> struct arg_set { char *fn 阅读全文
posted @ 2022-11-09 13:51 20201319吴向林 阅读(7) 评论(0) 推荐(0) 编辑