Fawkes API
Fawkes Development Version
|
Test class for WaitConditions This class tets basic functionality of WaitConditions, mainly thread cancellation problems. More...
Protected Member Functions | |
void | start_test (void *(*thread_func)(void *)) |
Start threads with the given function, cancel the threads and assert they have terminated. More... | |
Test class for WaitConditions This class tets basic functionality of WaitConditions, mainly thread cancellation problems.
Definition at line 44 of file test_wait_condition.cpp.
|
inlineprotected |
Start threads with the given function, cancel the threads and assert they have terminated.
thread_func | The function the threads are started with. |
Definition at line 60 of file test_wait_condition.cpp.
References fawkes::WaitCondition::abstimed_wait(), thread_params::cond, fawkes::WaitCondition::reltimed_wait(), and fawkes::WaitCondition::wait().