src/server/util/thrpool.c

changeset 724
dcac069c7c95
parent 581
4a049e416021
equal deleted inserted replaced
723:2b7291e40688 724:dcac069c7c95
83 break; 83 break;
84 } 84 }
85 } 85 }
86 86
87 if(thr_index == -1) { 87 if(thr_index == -1) {
88 log_ereport(LOG_CATASTROPHE, "threadpool: cannot find thread index for thread %ull\n", (unsigned long long)thr_self); 88 log_ereport(LOG_CATASTROPHE, "threadpool: cannot find thread index for thread %ull", (unsigned long long)thr_self);
89 return NULL; 89 return NULL;
90 } 90 }
91 91
92 ws_atomic_inc32(&pool->num_threads); 92 ws_atomic_inc32(&pool->num_threads);
93 for(;;) { 93 for(;;) {

mercurial