Fawkes API Fawkes Development Version
|
struct used for multithreading tests More...
Public Attributes | |
RefPtr< SyncPointManager > | manager |
SyncPointManager passed to the thread. More... | |
uint | thread_nr = 0 |
Thread number. More... | |
SyncPoint::WakeupType | type = SyncPoint::WAIT_FOR_ONE |
Wait type. More... | |
uint | num_wait_calls |
Number of wait calls the thread should make. More... | |
string | sp_identifier |
Name of the SyncPoint. More... | |
string | component = "" |
Name of the component. More... | |
uint | timeout_sec = 0 |
timeout in sec More... | |
uint | timeout_nsec = 0 |
timeout in nsec More... | |
atomic< ThreadStatus > | status |
current status of the thread More... | |
Mutex | mutex_running |
Mutex to protect cond_running. More... | |
WaitCondition | cond_running = WaitCondition(&mutex_running) |
WaitCondition to indicate that the thread is running. More... | |
Mutex | mutex_finished |
Mutex to protect cond_finished. More... | |
WaitCondition | cond_finished = WaitCondition(&mutex_finished) |
WaitCondition to indicate that the thread has finished. More... | |
Barrier * | start_barrier = nullptr |
Barrier for startup synchronization. More... | |
struct used for multithreading tests
Definition at line 331 of file test_syncpoint.cpp.
string waiter_thread_params::component = "" |
Name of the component.
Definition at line 344 of file test_syncpoint.cpp.
WaitCondition waiter_thread_params::cond_finished = WaitCondition(&mutex_finished) |
WaitCondition to indicate that the thread has finished.
Definition at line 358 of file test_syncpoint.cpp.
WaitCondition waiter_thread_params::cond_running = WaitCondition(&mutex_running) |
WaitCondition to indicate that the thread is running.
Definition at line 354 of file test_syncpoint.cpp.
RefPtr<SyncPointManager> waiter_thread_params::manager |
SyncPointManager passed to the thread.
Definition at line 334 of file test_syncpoint.cpp.
Mutex waiter_thread_params::mutex_finished |
Mutex to protect cond_finished.
Definition at line 356 of file test_syncpoint.cpp.
Mutex waiter_thread_params::mutex_running |
Mutex to protect cond_running.
Definition at line 352 of file test_syncpoint.cpp.
uint waiter_thread_params::num_wait_calls |
Number of wait calls the thread should make.
Definition at line 340 of file test_syncpoint.cpp.
string waiter_thread_params::sp_identifier |
Name of the SyncPoint.
Definition at line 342 of file test_syncpoint.cpp.
Barrier* waiter_thread_params::start_barrier = nullptr |
Barrier for startup synchronization.
Definition at line 360 of file test_syncpoint.cpp.
atomic<ThreadStatus> waiter_thread_params::status |
current status of the thread
Definition at line 350 of file test_syncpoint.cpp.
uint waiter_thread_params::thread_nr = 0 |
Thread number.
Definition at line 336 of file test_syncpoint.cpp.
uint waiter_thread_params::timeout_nsec = 0 |
timeout in nsec
Definition at line 348 of file test_syncpoint.cpp.
uint waiter_thread_params::timeout_sec = 0 |
timeout in sec
Definition at line 346 of file test_syncpoint.cpp.
SyncPoint::WakeupType waiter_thread_params::type = SyncPoint::WAIT_FOR_ONE |
Wait type.
Definition at line 338 of file test_syncpoint.cpp.