Got rid of most using directives. Ported tests to python.
[invirt/third/libt4.git] / lock_tester.cc
index e9ec0a8..7143401 100644 (file)
@@ -20,7 +20,7 @@ static lock_protocol::lockid_t c = "3";
 // doesn't grant the same lock to both clients.
 // it assumes that lock names are distinct in the first byte.
 static int ct[256];
-static mutex count_mutex;
+static std::mutex count_mutex;
 
 static void check_grant(lock_protocol::lockid_t lid) {
     lock ml(count_mutex);