Public Member Functions | |
void | set_ok_flag (bool ok) |
Data transfer between thread & main. | |
bool | ok_flag () const |
ThreadSystem * | thread_system () const |
Protected Member Functions | |
ThreadSystemTestBase (ThreadSystem *thread_system) | |
Takes ownership of 'thread_system'. | |
void | TestStartJoin () |
Test simple start & join. | |
void | TestSync () |
void net_instaweb::ThreadSystemTestBase::TestSync | ( | ) | [protected] |
Very basic use of synchronization --- waiting for thread to notify us. Also tests detached execution.