Fix BaseCtx::unlock()
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
5db4a3e8b0
commit
ddfb1f1ff3
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user