Home | History | Annotate | Download | only in tsan

Lines Matching defs:CB

543   struct CB {
548 // Thread function with CB.
550 CB *cb = (CB*)param;
551 (cb->lt->*cb->f)();
559 CB cb[kNumThreads] = {{f1, this}, {f2, this}, {f3, this}, {f4, this}};
560 for (int i = 0; i < kNumThreads && cb[i].f; i++)
561 pthread_create(&t[i], 0, Thread, &cb[i]);
562 for (int i = 0; i < kNumThreads && cb[i].f; i++)