 @@ -242,7 +246,6 @@
              return true;
          }
-
+ 
 -    private:
          bool do_try_lock_until(struct timespec const &timeout)
          {

         }
-    public:
 #endif

+public:
 #if defined BOOST_THREAD_USES_DATETIME
         bool timed_lock(system_time const & abs_time)
         {
@@ -268,14 +271,16 @@
             return do_try_lock_until(ts);
         }
 #endif

@@ -72,7 +76,7 @@
             }
         }
 
-        void unlock()
+        void unlock_impl()
         {
