摘要: 1 编译运行附件中的代码,提交运行结果截图,并说明程序功能 2 修改代码,把同步资源个数减少为3个,把使用资源的线程增加到 (你的学号%3 + 4)个,编译代码,提交修改后的代码和运行结果截图。 题一 #include <stdio.h> #include <pthread.h> #include 阅读全文
posted @ 2022-11-08 21:28 油菜园12号 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 编译运行附件中的代码,并说明程序的功能 根据自己的理解,提交不少于3张图片 一、代码 #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <ctype.h> struct arg_set { char *fname 阅读全文
posted @ 2022-11-08 21:04 油菜园12号 阅读(53) 评论(0) 推荐(0) 编辑