dimgigov
5ec755743d
feat: Phase 8.3 true non-blocking async/await with stackful coroutines
- C runtime: ucontext-based coroutines (bux_async_spawn/yield/await/run)
- Round-robin scheduler in bux_async_run() manages ready queue
- spawn Func() without args → bux_async_spawn() creates coroutine
- await → blocks/yields until coroutine completes
- async func → emitted as regular C function, runs on dedicated stack
- Interleaved execution: multiple coroutines yield cooperatively
- Example: examples/async.bux demonstrates WorkA/WorkB interleaving
- All 20 examples pass, selfhost build works
2026-06-01 01:06:46 +03:00
..
2026-05-31 02:01:28 +03:00
2026-06-01 01:06:46 +03:00
2026-06-01 00:04:48 +03:00
2026-05-31 23:48:45 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 13:06:29 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 13:06:29 +03:00
2026-05-31 13:06:29 +03:00
2026-05-31 11:57:52 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 13:06:29 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 23:48:45 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 10:15:44 +03:00
2026-05-31 13:06:29 +03:00
2026-05-31 10:15:44 +03:00
2026-05-31 02:01:28 +03:00
2026-05-31 23:48:45 +03:00
2026-05-31 10:15:44 +03:00