diff options
Diffstat (limited to 'common/nextpnr.h')
-rw-r--r-- | common/nextpnr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index f391469c..f7f1cebc 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -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(); } |