摘要:
一、有错误的程序代码:#include #include #include #include void writer(const char * message, int count, FILE * stream){ printf("enter writer, count %d\n", count); while ( count > 0 ) { fprintf(stream, "%s", message); fflush(stream); sleep(1); count --; }}void reader(FILE ... 阅读全文