摘要:
1#include2#include3#include45pthread_mutex_tmutex;6pthread_cond_tcond_full;7pthread_cond_tcond_empty;89intg_iBufSize=0;1011void*thread_producer(void*a... 阅读全文
摘要:
代码:CXX:=g++CFLAGS:=-gTARGET:=xxx.exeSRCS:=$(wildcard*.cpp)OBJS:=$(patsubst%cpp,%o,$(SRCS))all:$(TARGET)%.o:%.cpp$(CXX)$(CFLAGS)-c$<$(TARGET):$(OBJS)$(... 阅读全文