多线程编译linux,总算实现了linux多线程的编译,多线程编译错误
#include void task1(int *counter);void task2(int *counter);void cleanup(int counter1, int counter2);int g1 = 0;int g2 = 0;int main(int argc, char *argv[]){pthread_t thrd1, thrd2;int ret;/* Create the ...