be/test/util/thread_test.cpp
// Try to join on the thread that is currently running.
Try to join on the thread that is currently running.
Try to join on the thread that is currently running .
TEST_F(ThreadTest, TestJoinOnSelf) {
    scoped_refptr<Thread> holder;
    ASSERT_TRUE(Thread::create("test", "test", TryJoinOnSelf, &holder).ok());
    holder->join();
}
TEST_F ( ThreadTest , TestJoinOnSelf ) { scoped_refptr < Thread > holder ; ASSERT_TRUE ( Thread :: create ( " " , " " , TryJoinOnSelf , & holder ) . ok ( ) ) ; holder -> join ( ) ; }
Try to join on the thread that is currently running.
Try to join on the thread that is currently running .
// Actual assertion is done by the thread spawned above.