pcbjam/wasm/shims
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Viktor Vaczi 94cac5e4d4 port staging 29c61b8's zero-duration nanosleep guard (allocator must not suspend)
mimalloc's mi_atomic_yield() is sleep(0) on wasm, reached from malloc's slow
path under cross-thread delayed-free contention. Under JSPI a yield there
suspends the activation INSIDE the allocator — any other activation that runs
next can re-enter mimalloc mid-operation. ms==0 now busy-returns like stock
emscripten. (The removelist half of the staging fix is obsolete here — no
asyncify, no removelist. The mimalloc-storm harness + spec arrive with the
staging merge.)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NDeBaKKhQztd8KiVtHuyXr
2026-08-13 09:04:43 +02:00
..
mallinfo_stub.c feat(libs): react load overlay + progress bar; mimalloc mallinfo stub; framed tests 2026-07-01 09:56:32 +02:00
nanosleep_yield.c port staging 29c61b8's zero-duration nanosleep guard (allocator must not suspend) 2026-08-13 09:04:43 +02:00