Changeset 341603a0f7acf173ecace38718deb66801483644

Show
Ignore:
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:
1 modified

Legend:

Unmodified
Added
Removed
  • logger/logger.hh

    r628ff7a r341603a  
    2323#include <boost/noncopyable.hpp> 
    2424#include <boost/thread/locks.hpp> 
    25 #include <boost/thread/mutex.hpp> 
     25#include <boost/thread/recursive_mutex.hpp> 
    2626 
    2727#include <fstream> 
     
    3131        class logger_ : private boost::noncopyable  
    3232        { 
    33                 boost::mutex m; 
     33                boost::recursive_mutex m; 
    3434                 
    3535                std::ostream *os;