Commit graph

8 commits

Author SHA1 Message Date
Filip Tibell
c6c4c2fd40
Implement thread callbacks, make a lib 2024-01-19 11:14:00 +01:00
Filip Tibell
d3e0d5f8c2
Make spawn function resume once instantly to be spec compliant 2024-01-19 10:02:19 +01:00
Filip Tibell
2a1972316a
Separate spawn and defer queues, optimize 2024-01-19 09:33:42 +01:00
Filip Tibell
dac729cf46
Fix stack space issues, remove pending constant 2024-01-18 21:53:13 +01:00
Filip Tibell
78bb958797
Fix rare early exit condition because of async race 2024-01-18 18:20:42 +01:00
Filip Tibell
13d1f13c88
Get rid of unwraps where possible 2024-01-18 18:16:49 +01:00
Filip Tibell
cd090d877f
Use async thread as stream, compare to mlua internal pending value 2024-01-18 17:58:53 +01:00
Filip Tibell
bf0bd20ffc
Get rid of old stuff 2024-01-18 10:52:30 +01:00
Renamed from src/smol/thread_runtime.rs (Browse further)