From 656e1ba1e72be76049a89c16842de5cd551aa1d3 Mon Sep 17 00:00:00 2001 From: Gabriele Belluardo Date: Sat, 18 Apr 2026 11:55:49 +0200 Subject: [PATCH] fix: mutex unlock call in async example --- exercises/091_async7.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/091_async7.zig b/exercises/091_async7.zig index bfe6ffd..1b83795 100644 --- a/exercises/091_async7.zig +++ b/exercises/091_async7.zig @@ -6,7 +6,7 @@ // // // In a task: // try mutex.lock(io); // blocks until lock is acquired -// defer mutex.unlock(); +// defer mutex.unlock(io); // // ... critical section: safe to modify shared data ... // // Without the mutex, concurrent tasks could read and write the