此程序是否线程安全 一个线程生产者 另一个线程消费者 采用一个循环队列
此程序是否线程安全 一个线程生产者 另一个线程消费者 采用一个循环队列
#include <stdio.h>
#include <string.h>
#include <pthread.h>
#define BUF_LEN (1024 * 1024 * 1024)
#define OK 0
#define ERROR -1
原创
2019-03-15 23:03:12 ·
175 阅读 ·
0 评论