pthread_create(¤t_threads[tid_id], NULL, thread_main, NULL);
}
#endif
pthread_create(¤t_threads[tid_id], NULL, thread_main, NULL);
}
#endif
#ifdef HAVE_THREADS
for(tid_id = 0; tid_id < worker_threads; tid_id++) {
pthread_join(current_threads[tid_id], NULL);
#ifdef HAVE_THREADS
for(tid_id = 0; tid_id < worker_threads; tid_id++) {
pthread_join(current_threads[tid_id], NULL);