Index: boost/thread/pthread/shared_mutex.hpp =================================================================== --- boost/thread/pthread/shared_mutex.hpp (revision 62097) +++ boost/thread/pthread/shared_mutex.hpp (working copy) @@ -225,7 +225,7 @@ template bool timed_lock_upgrade(TimeDuration const & relative_time) { - return timed_lock(get_system_time()+relative_time); + return timed_lock_upgrade(get_system_time()+relative_time); } bool try_lock_upgrade()