![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
操作系统
文章平均质量分 70
OrdinaryCrazy
这里是张劲暾的CSDN博客
展开
-
操作系统编程作业:UNIX Shell and History Feature
#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/types.h>#include <sys/shm.h>#include <wait.h>#include <string.h>#include <原创 2018-04-25 22:48:08 · 4778 阅读 · 0 评论 -
Pthread 多线程矩阵乘法
/**ORDINARYCRAZY**/#include <stdio.h>#define _GNU_SOURCE#include <unistd.h>#include <pthread.h>#include <sys/syscall.h>#include <stdlib.h>#define M 3#define K 2#...原创 2018-05-07 21:52:12 · 4383 阅读 · 0 评论 -
线程同步——生产者消费者问题
/*buffer.h*/typedef int buffer_item;#define BUFFER_SIZE 5#include "buffer.h"#include <stdlib.h>#include <stdio.h>#include <time.h>#include <pthread.h>#include <semap...原创 2018-05-22 16:47:10 · 698 阅读 · 0 评论