摘要:
#include <stdio.h> // printf(),#include <stdlib.h> // exit(), EXIT_SUCCESS#include <pthread.h> // pthread_create(), pthread_join()#include <semaphore.h> // sem_init()sem_t binSem;void* helloWorld(void* arg);int main() { // Result for System call int res = 0; int i= 0; // Init 阅读全文