Lines Matching refs:Worker
335 void Worker() {
340 MyThread t(Worker);
643 // Parent: Worker:
645 // 2. Start(Worker) ------------>
647 // 3. Join(Worker) <------------
649 void Worker() {
654 MyThread t(Worker);
749 void Worker() {
762 MyThreadArray t(Worker, Worker);
996 void Worker() {
1014 MyThreadArray t(Worker, Worker);
1030 void Worker() {
1048 MyThreadArray t(Worker, Worker, Worker);
1385 void Worker() {
1394 MyThreadArray t(Worker, Worker, Worker, Worker);
1688 void Worker() {
1710 vec[i] = new MyThread(Worker);
1740 void Worker() {
1755 MyThreadArray t(Worker, Worker);
1780 void Worker() {
1802 MyThreadArray t(Worker, Worker);
1989 void Worker() {
2004 pool.Add(NewCallback(Worker));
2089 void Worker() {
2094 MyThreadArray t(Worker, Worker, Worker);
2793 void Worker() {
2801 MyThreadArray t(Worker, Worker, Worker, Worker);
3470 void Worker() {
3516 vec[i] = new MyThread(Worker);
3561 void Worker() {
3608 vec[i] = new MyThread(Worker);
3766 void Worker() {
3776 MyThreadArray t(Worker, Worker, Worker, Worker);
3793 void Worker() {
3803 MyThreadArray t(Worker, Worker, Worker, Worker);
3820 void Worker() {
3830 MyThreadArray t(Worker, Worker, Worker, Worker);
3945 void Worker() {
3955 MyThreadArray t(Worker, Worker, Worker, Worker);
3971 void Worker() {
3981 MyThreadArray t(Worker, Worker, Worker, Worker);
4201 usleep(100000); // so that Worker calls a->f() first.
4209 void Worker() {
4211 printf("Worker: got A\n");
4218 printf("Worker: done\n");
4223 MyThreadArray t(Waiter, Worker);
4278 void Worker() {
4290 MyThreadArray t(Waiter, Worker);
4302 void Worker() {
4309 MyThread t(Worker);
4354 void Worker() {
4372 MyThreadArray t(Worker, Worker);
4998 void Worker() {
5016 MyThreadArray t(Worker, Worker, Worker, Worker);
5026 void Worker() {
5031 MyThread t(Worker);
5063 void Worker() {
5074 Worker();
5075 MyThread t(Worker);
5156 void Worker() {
5165 MyThreadArray t(Worker0, Worker, Worker);
5182 void Worker(void *a) {
5184 // printf("--Worker : %ld %p\n", (int*)a - GLOB, (void*)pthread_self());
5193 t[i] = new MyThread(Worker, &GLOB[i]);
5234 void Worker() {
5298 MyThreadArray t(Worker, Worker, Worker);
5388 void Worker() {
5409 MyThreadArray t(Worker, Worker);
5488 void Worker() {
5494 MyThreadArray t(Worker, Worker);
5519 void Worker() {
5551 MyThreadArray t(Worker, Worker, Worker);
5564 void Worker() {
5593 MyThreadArray t(Worker, Worker, Worker);
5609 void Worker(void *a) {
5618 t[i] = new MyThread(Worker);
5945 void Worker() {
5957 MyThreadArray t(Worker, Worker, Worker);
6030 void Worker() {
6037 MyThreadArray t(Worker, Worker, Worker);
6073 void Worker() {
6084 MyThreadArray t(Worker, ThisFunctionShouldBeSuppressed);
6148 void Worker() { // Spawn few threads that touch per_thread_global.
6153 void Worker0() { sleep(0); Worker(); }
6154 void Worker1() { sleep(1); Worker(); }
6155 void Worker2() { sleep(2); Worker(); }
6156 void Worker3() { sleep(3); Worker(); }
6179 void Worker() { // Spawn few threads that touch stack.
6184 void Worker0() { sleep(0); Worker(); }
6185 void Worker1() { sleep(1); Worker(); }
6186 void Worker2() { sleep(2); Worker(); }
6187 void Worker3() { sleep(3); Worker(); }
6202 void Worker() { GLOB = 1; }
6210 MyThreadArray t(Worker, Worker);
6227 void Worker() { GLOB = 1; }
6235 MyThreadArray t(Worker, Worker);
6278 void Worker() {
6289 MyThreadArray t(Worker, Worker, Swapper, Worker, Worker);
6309 void Worker() {
6317 MyThreadArray t(Worker, Worker, Worker, Worker);
6351 void Worker() {
6366 MyThreadArray t(Worker, Worker, Worker, Worker);
6379 void Worker() {
6396 tp.Add(NewCallback(Worker));
6397 tp.Add(NewCallback(Worker));
6476 void Worker() {
6491 MyThreadArray t(Worker, Worker, Swapper, Worker, Worker);
6727 void Worker() {
6755 MyThread t1(Worker), t2(Worker);
7135 void Worker() { Func19(); }
7138 MyThreadArray t(Worker, Worker, Worker);
7150 // Worker(N) will do 2^N increments of GLOB, each increment in a separate thread
7151 void Worker(long depth) {
7156 pool.Add(NewCallback(Worker, depth-1));
7157 pool.Add(NewCallback(Worker, depth-1));
7164 Worker(4);
7297 void Worker() {
7312 MyThreadArray ta (Worker, Worker, Worker, Worker);
7401 void Worker(){
7430 pool.Add(NewCallback(Worker));
7461 void Worker() {
7479 MyThreadArray t(Worker, Worker);
7504 void Worker() {
7530 MyThreadArray t(Worker, Worker);
7551 void Worker() {
7568 pool.Add(NewCallback(Worker));
7600 void Worker() {
7612 pool.Add(NewCallback(Worker));
7639 void Worker() {
7651 pool.Add(NewCallback(Worker));
7664 void Worker() {
7684 pool.Add(NewCallback(Worker));
7698 void Worker() {
7714 pool.Add(NewCallback(Worker));
7775 void Worker() {
7803 pool.Add(NewCallback(Worker));