pthread_join error code 3
问题 i have problem in my project. it throws me error code 3. I just add part of my code to let you see what I did. in main.cpp I declared on the threads then I send to initRequestThreads(in thread.h) to create the threads. then in main.cpp i let the main process to wait for it. main.cpp pthread_t *requestersThreads = new pthread_t[Length_Tasks]; requestsPool->initRequestThreads(&requestersThreads); void* status; // wait for all requests threads for(t=0; t<Length_Tasks; t++) { rc = pthread_join