summaryrefslogtreecommitdiff
path: root/emu/port/lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/port/lock.c')
-rw-r--r--emu/port/lock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/emu/port/lock.c b/emu/port/lock.c
index 48b5d8c2..7028dbd8 100644
--- a/emu/port/lock.c
+++ b/emu/port/lock.c
@@ -34,6 +34,7 @@ canlock(Lock *l)
void
unlock(Lock *l)
{
+ coherence();
l->val = 0;
}