Public Member Functions | Private Attributes
TestMultiThread Class Reference

List of all members.

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

Detailed Description

Definition at line 34 of file test_thread_safe_map.cpp.


Constructor & Destructor Documentation

TestMultiThread::TestMultiThread ( int  num_threads) [inline]

Definition at line 37 of file test_thread_safe_map.cpp.

Definition at line 53 of file test_thread_safe_map.cpp.


Member Function Documentation

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.


Member Data Documentation

Definition at line 81 of file test_thread_safe_map.cpp.

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.


The documentation for this class was generated from the following file:


sr_utilities
Author(s): Ugo Cupcic
autogenerated on Mon Oct 6 2014 07:42:15