impatomic: silence more clang warnings
[model-checker.git] / include / mutex
index 31fd7eb1f19ae83ae750a0bbf23f629a3b7d96e3..bd65a78a57647200dcc7e49a64dabcf3ffd41a4a 100644 (file)
@@ -10,7 +10,7 @@
 
 namespace std {
        struct mutex_state {
-               bool islocked;
+               void *locked; /* Thread holding the lock */
                thread_id_t alloc_tid;
                modelclock_t alloc_clock;
        };
@@ -18,7 +18,7 @@ namespace std {
        class mutex {
        public:
                mutex();
-               ~mutex();
+               ~mutex() {}
                void lock();
                bool try_lock();
                void unlock();