mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-29 05:11:33 +00:00
Fix BaseCtx::unlock()
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
@@ -392,7 +392,7 @@ struct BaseCtx
|
||||
|
||||
void unlock(void)
|
||||
{
|
||||
NPNR_ASSERT(std::this_thread::get_id() != mutex_owner);
|
||||
NPNR_ASSERT(std::this_thread::get_id() == mutex_owner);
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user