aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/AutoResetEvent.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-04-21 10:46:04 +0200
committerJakub Konka <kubkon@jakubkonka.com>2022-04-21 11:48:15 +0200
commit28ca203b7132ba0513a3854bd3bcbd0ee9bca067 (patch)
treeeabc9d3522d89fe8d050197bd6dc1c8a14c349a5 /lib/std/Thread/AutoResetEvent.zig
parent96c1314443bdf26442a2c9fdffa03f2afffbcb8e (diff)
downloadzig-28ca203b7132ba0513a3854bd3bcbd0ee9bca067.tar.gz
zig-28ca203b7132ba0513a3854bd3bcbd0ee9bca067.zip
debug: fix resource (de)allocation for Elf and Coff targets
With this change, it is now possible to safely call `var di = std.debug.openSelfDebugInfo(gpa)`. Calling then `di.deinit()` on the object will correctly free all allocated resources. Ensure we store the result of `mmap` with correct alignment.
Diffstat (limited to 'lib/std/Thread/AutoResetEvent.zig')
0 files changed, 0 insertions, 0 deletions