Changeset 341603a0f7acf173ecace38718deb66801483644
- Timestamp:
- 06/26/10 16:29:07 (2 years ago)
- Author:
- Antti-Juhani Kaijanaho <ajk@…>
- Children:
- 61975465b66e572def6105480f10917981b1ef0d
- Parents:
- 16ae75ffd14588202aace31aaacf230469fd0758
- git-committer:
- Antti-Juhani Kaijanaho <ajk@…> (06/26/10 16:29:07)
- Message:
-
Fix #67 by using a recursive mutex
Signed-off-by: Antti-Juhani Kaijanaho <ajk@…>
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r628ff7a
|
r341603a
|
|
| 23 | 23 | #include <boost/noncopyable.hpp> |
| 24 | 24 | #include <boost/thread/locks.hpp> |
| 25 | | #include <boost/thread/mutex.hpp> |
| | 25 | #include <boost/thread/recursive_mutex.hpp> |
| 26 | 26 | |
| 27 | 27 | #include <fstream> |
| … |
… |
|
| 31 | 31 | class logger_ : private boost::noncopyable |
| 32 | 32 | { |
| 33 | | boost::mutex m; |
| | 33 | boost::recursive_mutex m; |
| 34 | 34 | |
| 35 | 35 | std::ostream *os; |