LooperForThread
static BLooper* LooperForThread(thread_id thread);
BLooper* LooperForThread(thread_id tid);
= dynamic_cast<BWindow*>(BLooper::LooperForThread(find_thread(NULL)));
BWindow* window = dynamic_cast<BWindow*>(BLooper::LooperForThread(
(BLooper::LooperForThread(find_thread(NULL)));
return gLooperList.LooperForThread(thread);
dynamic_cast<BWindow*>(BLooper::LooperForThread(find_thread(NULL)));
BLooper::LooperForThread(find_thread(NULL)));
dynamic_cast<BWindow*>(BLooper::LooperForThread(find_thread(NULL)));
BWindow* parent = dynamic_cast<BWindow*>(BLooper::LooperForThread(
BWindow* window = dynamic_cast<BWindow*>(BLooper::LooperForThread(find_thread(NULL)));
BLooper::LooperForThread(find_thread(NULL)));
BWindow* window = dynamic_cast<BWindow*> (BLooper::LooperForThread(find_thread(NULL)));
BLooper::LooperForThread(find_thread(NULL)));
= dynamic_cast<BWindow*>(BLooper::LooperForThread(find_thread(NULL)));
CPPUNIT_ASSERT(Looper == BLooper::LooperForThread(tid));
CPPUNIT_ASSERT(BLooper::LooperForThread(find_thread(NULL)) == NULL);