aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/Semaphore.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-10-30 19:28:26 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-10-30 19:28:26 -0700
commitd02242661e667e67b07faf69490bb0db3dfd4bf0 (patch)
tree59ac3378117f2684b4d92a26adbc0d967a171180 /lib/std/Thread/Semaphore.zig
parentef761c2cbc5c9a06da5c09de389a1d778731d170 (diff)
downloadzig-d02242661e667e67b07faf69490bb0db3dfd4bf0.tar.gz
zig-d02242661e667e67b07faf69490bb0db3dfd4bf0.zip
std.heap: make wasm32 PageAllocator handle large allocation
When a number of bytes to be allocated is so great that alignForward() is not possible, return `error.OutOfMemory`. Companion commit to 3f3003097cbf5a6ad9e0dfc29b2cafbe2e35dded.
Diffstat (limited to 'lib/std/Thread/Semaphore.zig')
0 files changed, 0 insertions, 0 deletions