test: add green thread integration test

Also fix runtime scheduler bugs:
- g_task_creating was thread-local but set on main thread and read on worker
- g_scheduler_context was global shared by all workers instead of per-thread
This commit is contained in:
2026-06-10 19:48:39 +03:00
parent 9cd0580832
commit 2824d25369
3 changed files with 39 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
[package]
name = "green_threads_test"
version = "0.1.0"
pkgType = "bin"