Home | History | Annotate | Download | only in unittest

Lines Matching defs:Waiter

122 // Waiter:                      Waker:
136 usleep(200000); // Make sure the waiter blocks.
145 void Waiter() {
158 Waiter();
171 // Waiter: Waker:
184 usleep(100000); // Make sure the waiter blocks.
188 COND = 1; // We are done! Tell the Waiter.
191 void Waiter() {
203 Waiter();
243 // test05: FP. Synchronization via CondVar, but waiter does not block. {{{1
252 // Waiter: Waker:
273 void Waiter() {
286 MyThreadArray t(Waker, Waiter);
300 // Waiter: Waker:
323 void Waiter() {
339 Waiter();
354 // Waiter: Signaller:
369 COND = true; // We are done! Tell the Waiter.
372 void Waiter() {
386 Waiter();
540 // Waker: Waiter:
564 void Waiter() {
579 MyThreadArray t(Waker, Waiter);
652 Waiter() {
662 MyThreadArray t(Waker, Waiter, Waiter);
763 usleep(100000); // Make sure the waiter blocks.
767 COND = 1; // We are done! Tell the Waiter.
770 void Waiter() {
784 Waiter();
796 usleep(100000); // Make sure the waiter blocks.
800 COND = 1; // We are done! Tell the Waiter.
803 void Waiter() {
817 Waiter();
832 void Waiter() {
843 MyThreadArray t(Waker, Waiter);
860 void Waiter() {
870 MyThreadArray t(Waker, Waiter);
887 void Waiter() {
903 MyThreadArray t(Waker, Waiter);
981 usleep(100000); // Make sure the waiter blocks.
985 COND = 1; // We are done! Tell the Waiter.
988 void Waiter() {
1000 Waiter();
1014 usleep(100000); // Make sure the waiter blocks.
1018 COND = 1; // We are done! Tell the Waiter.
1021 void Waiter() {
1033 Waiter();
1049 void Waiter() {
1059 MyThreadArray t(Waker, Waiter);
2117 // Waiter: Waker:
2133 usleep(100000); // Make sure the waiter blocks.
2148 void Waiter() {
2161 MyThreadArray t(Waker, Waiter);
2180 // Waiter: Waker:
2200 n1.wait(); // Make sure the waiter blocks.
2209 n2.wait(); // Make sure the waiter continued.
2219 void Waiter() {
2232 MyThreadArray t(Waiter, Waker);
2251 // Waiter: Waker:
2289 void Waiter() {
2303 MyThreadArray t(Waker, Waiter);
2847 // test66: TN. Two separate pairs of signaller/waiter using the same CV. {{{1
3996 void Waiter() {
3998 printf("Waiter: B created\n");
4001 printf("Waiter: deleting B\n");
4003 printf("Waiter: B deleted\n");
4005 printf("Waiter: done\n");
4021 MyThreadArray t(Waiter, Worker);
4451 n2.wait(); // Make sure the waiter blocks.
4463 // Make sure the waiter blocks.
4508 usleep(10000); // Make sure the waiter blocks.
4518 usleep(10000); // Make sure the waiter blocks.
4722 void Waiter() {
4741 MyThreadArray t(Waiter, Signaller);
5251 void Waiter() {
5260 MyThreadArray t(Signaller, Waiter, Signaller, Waiter);
5618 *param = GLOB; // a write into Waiter's memory
5621 void Waiter() {
5629 usleep(100000); // Make sure the waiter blocks.
5636 MyThread mt(Waiter, NULL, "Waiter Thread");
6135 void Waiter() {
6153 MyThreadArray mta(Signaller, Waiter, Racer);