Public Member Functions | |
void | read () |
TestMultiThread (int num_threads) | |
void | write () |
~TestMultiThread () | |
Private Attributes | |
int | last_value |
threadsafe::Map< int > | map_ |
boost::shared_mutex | mut |
Definition at line 34 of file test_thread_safe_map.cpp.
TestMultiThread::TestMultiThread | ( | int | num_threads | ) | [inline] |
Definition at line 37 of file test_thread_safe_map.cpp.
TestMultiThread::~TestMultiThread | ( | ) | [inline] |
Definition at line 53 of file test_thread_safe_map.cpp.
void TestMultiThread::read | ( | ) | [inline] |
Definition at line 65 of file test_thread_safe_map.cpp.
void TestMultiThread::write | ( | ) | [inline] |
Definition at line 56 of file test_thread_safe_map.cpp.
int TestMultiThread::last_value [private] |
Definition at line 81 of file test_thread_safe_map.cpp.
threadsafe::Map<int> TestMultiThread::map_ [private] |
Definition at line 77 of file test_thread_safe_map.cpp.
boost::shared_mutex TestMultiThread::mut [private] |
Definition at line 82 of file test_thread_safe_map.cpp.