Lines Matching refs:usleep
297 usleep(10); in Start()
380 usleep(100000); // Make sure the waiter blocks. in Waker()
428 usleep(100000); // Make sure the waiter blocks. in Waker()
522 usleep(100000); // Make sure the signaller gets first. in Waiter()
574 usleep(100000); // Make sure the signaller gets first. in Waiter()
622 usleep(100000); // Make sure the signaller gets there first. in Waiter()
676 usleep(100000); in Writer()
717 usleep(100000); in Reader()
750 usleep(200000); in Worker()
1064 usleep(100000); // Make sure the waiter blocks. in Waker()
1097 usleep(100000); // Make sure the waiter blocks. in Waker()
1131 usleep(100 * 1000); in Waker()
1162 usleep(100 * 1000); in Waker()
1192 usleep(100 * 1000); in Waker()
1234 usleep(1000); in Worker_TryLock()
1247 usleep(1000); in Worker_ReaderTryLock()
1257 usleep(1000); in Worker_ReaderLock()
1266 usleep(1000); in Worker_Lock()
1291 usleep(100000); // Make sure the waiter blocks. in Waker()
1324 usleep(100000); // Make sure the waiter blocks. in Waker()
1357 usleep(10000); in Waker()
1389 usleep(10000); in Worker()
1434 usleep(100000); in Getter()
1476 usleep(100000); in Getter()
1478 usleep(48000); // TODO: remove this when FP in test32 is fixed. in Getter()
1530 usleep(1000); in Writer()
1543 usleep(100); in Reader()
1583 usleep(1000); in Writer1()
1598 usleep(100); in Writer2()
1647 usleep(480000); in Reader()
1855 usleep(100000); in Getter()
1891 usleep(100000); in Reader()
1955 usleep(100000); in Getter()
1963 usleep(48000); // TODO: remove this when FP in test32 is fixed. in Getter()
2048 usleep(100000); in Putter()
2069 usleep(48000); // TODO: remove this when FP in test32 is fixed. in Getter()
2174 usleep(100000); in Getter()
2212 usleep(100000); in Getter()
2253 usleep(100000); in Getter()
2289 usleep(480000); in Second()
2331 usleep(480000); in Second()
2371 usleep(100000); in Reader()
2411 usleep(100000); in Reader()
2453 usleep(100000); // Make sure the waiter blocks. in Waker()
2462 usleep(100000); in Waker()
2524 usleep(10000); // Make sure the waiter blocks. in Waker()
2533 usleep(10000); // Make sure the waiter is signalled. in Waker()
2604 usleep(20000); // Make sure the waiter blocks in Waker()
2619 usleep(10000); // Make sure the first signal will be lost in Waiter()
2671 usleep(100000); // just in case in Initializer()
2680 usleep(10000); in User()
2716 usleep(100000); // just in case in Initializer()
2725 usleep(10000); in User()
2769 usleep(100); in Worker_TryLock()
2816 usleep(1000); in Writer()
2820 while (GLOB < 20) usleep(1000); in Reader()
2888 while(!FLAG2) usleep(1); in Worker2()
2896 while(!FLAG1) usleep(1); in Worker1()
3098 usleep(100000); in T2()
3150 usleep(100000); in T2()
3195 usleep(100000); in Signaller2()
3250 usleep(100000); in Signaller2()
3320 usleep(100); in Reader()
3375 usleep(100); in Reader()
3419 usleep(100000); in WorkerX()
3659 usleep(500000); in TryWaiter()
4033 usleep(100); in Writer()
4071 usleep(100); in Writer()
4201 usleep(100000); // so that Worker calls a->f() first. in Waiter()
4205 usleep(100000); in Waiter()
4217 usleep(200000); in Worker()
4409 usleep(200000); in Publisher()
4413 usleep(10000); in Reader()
4459 usleep(10000); in Accessor()
4562 usleep(10000); in Publisher()
4588 usleep(10000); // Make sure the waiter blocks. in Thr1()
4598 usleep(1000*1000); // Make sure CV2.Signal() "happens after" CV.Signal() in Thr2()
4599 usleep(10000); // Make sure the waiter blocks. in Thr2()
4641 usleep(1000*1000); // Make sure CV2.Signal() "happens before" CV.Signal() in Thr1()
4642 usleep(10000); // Make sure the waiter blocks. in Thr1()
4652 usleep(10000); // Make sure the waiter blocks. in Thr2()
4738 usleep(500000); in Reader()
4773 usleep(1000); in Writer()
4831 usleep(10000); in Thread1()
4839 usleep(10000); in Thread2()
4868 usleep(100000); in Worker1()
4903 usleep(100000); in Signaller()
4912 usleep(500000); in Signaller()
4962 usleep(200000); in Reader()
4964 usleep(400000); in Reader()
4977 usleep(400000); in Run()
5033 usleep(100000); in Parent()
5098 usleep(100000); in Worker1()
5157 usleep(200000); in Worker()
5183 usleep(10000); in Worker()
5361 usleep(100000); in Worker2()
5398 usleep(1000); in Worker()
5531 usleep(100000); in Worker()
5605 usleep(20000); in Foo()
5638 usleep(50000); in Signaller()
5645 usleep(100000); in Waiter()
5667 usleep(100000); in Worker2()
5695 usleep(100000); in Thread2()
5763 usleep(100000); in WriteWhileHoldingReaderLock()
6056 usleep(100000); in Thread2()
6074 usleep(100000); in Worker()
6107 usleep(100000); // Make sure the waiter blocks. in Waker()
6358 usleep(150000); in Worker()
6380 usleep(100000); in Worker()
6414 usleep(100000); in Worker2()
6506 usleep(100000); in Waker1()
6518 usleep(10000); in Waiter1()
6525 usleep(100000); in Waker2()
6537 usleep(10000); in Waiter2()
6615 usleep(1000); in Putter()
6627 usleep(1000); in Getter()
6661 usleep(10000); in Getter()
6749 usleep(100); in Worker()
6849 t1.Start(); usleep(100); in Run()
6850 t2.Start(); usleep(100); in Run()
6851 t3.Start(); usleep(100); in Run()
6852 t4.Start(); usleep(100); in Run()
6874 t1.Start(); usleep(100); in Run()
6875 t2.Start(); usleep(100); in Run()
6876 t3.Start(); usleep(100); in Run()
6901 usleep(100000); in FunctionWithControlFlow()
6971 usleep(100000); in Worker2()
7034 usleep(100000); // Let the writers go first. in Run()
7099 usleep(10000); in Run()
7101 usleep(100000); // Let the good folks go first. in Run()
7302 usleep(100); in Worker()
7314 usleep(500000); in Worker_1()
7321 usleep(300000); in Worker_2()
7330 usleep(100000); in Run()
7699 usleep(100000); in Worker()
7703 usleep(10); in Worker()
7728 usleep(1000); in Run()
7747 usleep(1000); in Run()