Skip to content

Commit 9b73d05

Browse files
canning-duckdmitshur
authored andcommitted
compiler/natives/src/sync: Fix inconsistent mutex state. (#737)
Prevent undue acquisition of the semaphore. This makes the "sync: inconsistent mutex state" panic not happen. Implement the lifo parameter in runtime_SemacquireMutex (not required to fix panic, but improves the mutex fairness). TestMutexFairness is now passing. Fixes #736.
1 parent 444abdf commit 9b73d05

File tree

3 files changed

+126
-115
lines changed

3 files changed

+126
-115
lines changed

0 commit comments

Comments
 (0)