Lines Matching refs:workers
79 boolean_t sc_suspend; /* workers should hold */
404 pthread_t *workers;
454 workers = scp->sc_workers;
461 if (workers[i] == pthread_self())
463 (void) pthread_join(workers[i], NULL);
465 free(workers);
474 pthread_t *workers;
476 workers = scp->sc_workers;
504 if (workers[i] == pthread_self()) {
505 (void) pthread_detach(workers[i]);
508 err = pthread_join(workers[i], NULL);
513 free(workers);
592 shadcons_dprintf(scp, "suspending workers\n");
595 /* wait for # suspended == # workers? */
603 * hash. If not, then we stop all the workers.
613 shadcons_dprintf(scp, "resuming workers\n");
919 * along and start the workers before we have a chance to change the