X-Git-Url: http://xvm.mit.edu/gitweb/invirt/third/libt4.git/blobdiff_plain/26ade07ab0e62b98b452fbbd18edba0450035e35..03b35a9a1bd1f583e32b27d260b223a0989d6c75:/lock_tester.cc diff --git a/lock_tester.cc b/lock_tester.cc index e9ec0a8..7143401 100644 --- a/lock_tester.cc +++ b/lock_tester.cc @@ -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);