          native_handle_type native_handle()
 @@ -126,7 +131,8 @@
          }
- 
+
  #else
 -        void lock()
 +    private:

         }
-    public:
 #endif
 
+public:
 #if defined BOOST_THREAD_USES_DATETIME
         bool timed_lock(system_time const & abs_time)

@@ -175,7 +183,7 @@
             }
         }

-        void unlock()
+        void unlock_impl()
         {
