248 + 249 + for (i = 0; i < nthreads; i++) { 250 + THREAD_ARG *arg = t_arg + i; 251 + while (arg->t_return == 0); 252 + if (arg->t_return < 0) 253 + running_threads--; 254 + }
What is this busy loop for exactly?
« Back to merge proposal
248 +
249 + for (i = 0; i < nthreads; i++) {
250 + THREAD_ARG *arg = t_arg + i;
251 + while (arg->t_return == 0);
252 + if (arg->t_return < 0)
253 + running_threads--;
254 + }
What is this busy loop for exactly?