diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-06-21 23:05:42 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-21 23:05:42 -0300 |
| commit | 3e6afeb5134fc699158e8c4d1646a138a947a93d (patch) | |
| tree | 961d66741cf0833c86b6013a653e33e23fc2cbc9 /ChocolArm64/AThread.cs | |
| parent | a4020bb398c72166cecd1457c973e0bebf9d2060 (diff) | |
Fix some thread sync issues (#172)
* Fix some thread sync issues
* Remove some debug stuff
* Ensure that writes to the mutex address clears the exclusive monitor
Diffstat (limited to 'ChocolArm64/AThread.cs')
| -rw-r--r-- | ChocolArm64/AThread.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ChocolArm64/AThread.cs b/ChocolArm64/AThread.cs index 040f590e..4fc79d5e 100644 --- a/ChocolArm64/AThread.cs +++ b/ChocolArm64/AThread.cs @@ -46,7 +46,7 @@ namespace ChocolArm64 { Translator.ExecuteSubroutine(this, EntryPoint); - Memory.RemoveMonitor(ThreadId); + Memory.RemoveMonitor(ThreadState); WorkFinished?.Invoke(this, EventArgs.Empty); }); |
