| FreeLing
    4.0
    | 
This class provides a map with thread_safe writing acces. More...
#include <safe_map.h>


| Public Member Functions | |
| bool | find_safe (const T1 &key, T2 &val) | 
| void | insert_safe (const T1 &key, const T2 &val) | 
| void | erase_safe (const T1 &key) | 
| Private Attributes | |
| boost::mutex | sem | 
This class provides a map with thread_safe writing acces.
| void safe_map< T1, T2 >::erase_safe | ( | const T1 & | key | ) |  [inline] | 
| bool safe_map< T1, T2 >::find_safe | ( | const T1 & | key, | 
| T2 & | val | ||
| ) |  [inline] | 
Referenced by freeling::hmm_tagger::ProbA_log().
| void safe_map< T1, T2 >::insert_safe | ( | const T1 & | key, | 
| const T2 & | val | ||
| ) |  [inline] | 
Referenced by freeling::hmm_tagger::ProbA_log().
 1.7.6.1
 1.7.6.1