pcbjam/scripts/common/shims
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári 41d49bdacc
WIP star-flip: shim routes context waits; docs 22 records that D forces D5
NOT GREEN. resolveWait marks a context-parked waiter ready and arms a pump
instead of resolving a promise nobody awaits.

The doc records the measured correction: DoRun parks the MAIN stack every
frame in wxWasmYieldToBrowser, which doc 21 called safe-by-construction only
because dispatch also ran there. With the scheduler swapping contexts from the
tick, those interleave over one currData - overlapped-wake, the exact class
this work exists to remove. So the main loop must become a context (D5) and
the bridges (E) join the same flip: D5+D+C+B+E land together.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EarUW9DS1c1sSW4ZNrkGQS
2026-08-10 10:14:18 +02:00
..
asyncify-scheduler.js WIP star-flip: shim routes context waits; docs 22 records that D forces D5 2026-08-10 10:14:18 +02:00
diagnostics.js design-b D-1: bump wxwidgets (gating + legacy twins deleted) + shim cleanup 2026-08-10 10:14:15 +02:00