Lines Matching refs:looper

75 					looper is not locked
76 @results should lock the looper and return B_OK.
81 BLooper *looper = new BLooper;
82 looper->Run();
83 LooperQuitter quitter(looper);
84 BMessenger messenger(NULL, looper, &result);
86 CHK(looper->IsLocked() == true);
87 looper->Unlock();
88 CHK(looper->IsLocked() == false);
94 looper is not locked
95 @results should lock the looper and return B_OK.
99 // create looper and handler
101 BLooper *looper = new BLooper;
102 looper->Run();
103 LooperQuitter quitter(looper);
106 CHK(looper->Lock());
107 looper->AddHandler(handler);
108 looper->Unlock();
112 CHK(looper->IsLocked() == true);
113 looper->Unlock();
114 CHK(looper->IsLocked() == false);
120 looper is locked by another thread, timeout is 100ms
121 @results should block until the looper is unlocked (after 50ms),
123 @thread A - locks the looper
125 - unlocks the looper
137 looper is locked by another thread, timeout is 100ms
138 @results should block until the looper is unlocked (after 50ms),
140 @thread B - waits 50ms (until thread A has acquired the looper lock)
141 - tries to lock the looper via messenger and blocks
143 - unlocks the looper
162 looper is locked by another thread, timeout is 25ms
163 @results should block for 25ms, not until the looper is unlocked
165 @thread A - locks the looper
167 - unlocks the looper
179 looper is locked by another thread, timeout is 25ms
180 @results should block for 25ms, not until the looper is unlocked
182 @thread B - waits 50ms (until thread A has acquired the looper lock)
183 - tries to lock the looper via messenger and blocks
201 looper is locked by another thread, timeout is 100ms
202 @results should block until the looper is unlocked (after 50ms),
204 @thread A - locks the looper
206 - unlocks the looper
218 looper is locked by another thread, timeout is 100ms
219 @results should block until the looper is unlocked (after 50ms),
221 @thread B - waits 50ms (until thread A has acquired the looper lock)
222 - tries to lock the looper via messenger and blocks
224 - unlocks the looper
243 looper is locked by another thread, timeout is 25ms
244 @results should block for 25ms, not until the looper is unlocked
246 @thread A - locks the looper
248 - unlocks the looper
260 looper is locked by another thread, timeout is 25ms
261 @results should block for 25ms, not until the looper is unlocked
263 @thread B - waits 50ms (until thread A has acquired the looper lock)
264 - tries to lock the looper via messenger and blocks
282 handler, looper is not locked
283 @results should not lock the looper and return B_BAD_VALUE.
295 looper is not locked
296 @results should not lock the looper and return B_BAD_VALUE.
345 // create looper and handler
364 // create looper and handler