summaryrefslogtreecommitdiff
path: root/lib/thread/mutex+freebsd.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread/mutex+freebsd.myr')
-rw-r--r--lib/thread/mutex+freebsd.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread/mutex+freebsd.myr b/lib/thread/mutex+freebsd.myr
index 61ba275..8e4c10d 100644
--- a/lib/thread/mutex+freebsd.myr
+++ b/lib/thread/mutex+freebsd.myr
@@ -35,7 +35,7 @@ const mtxlock = {mtx
for var i = 0; i < nspin; i++
c = xcas(&mtx._state, Unlocked, Locked)
if c == Unlocked
- ->
+ -> void
;;
;;
@@ -71,7 +71,7 @@ const mtxunlock = {mtx
if mtx._state == Contended
mtx._state = Unlocked
elif xchg(&mtx._state, Unlocked) == Locked
- ->
+ -> void
;;
/* wake all threads: for some reason nwake */