We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6cd31e commit 1eceb12Copy full SHA for 1eceb12
genmc-sys/cpp/src/MiriInterface/Mutex.cpp
@@ -80,7 +80,7 @@ auto MiriGenmcShim::handle_mutex_lock(ThreadId thread_id, uint64_t address, uint
80
// We did not acquire the mutex, so we tell GenMC to block the thread until we can acquire
81
// it. GenMC determines this based on the annotation we pass with the load further up in
82
// this function, namely when that load will read a value other than `MUTEX_LOCKED`.
83
- GenMCDriver::handleAssume(inc_pos(thread_id), AssumeType::Spinloop);
+ this->handle_assume_block(thread_id, AssumeType::Spinloop);
84
}
85
return MutexLockResultExt::ok(is_lock_acquired);
86
0 commit comments