pthreads

Different behaviors between Linux and Windows using threads (pthreads)

I am using the linux pthreads library to try out the threads functionality, the code below prints 5 messages on the screen fo ... reads[i], NULL)){ printf("Erro ao sincronizar a thread\n"); } } sem_destroy (&semaforo); return 0; }