Commit graph

7 commits

Author SHA1 Message Date
Filip Tibell
da2846670b
Implement runtime handle struct for retrieving values back from spawned threads 2024-01-27 23:35:10 +01:00
Filip Tibell
99412056da
Integrate tracing into runtime 2024-01-27 18:56:09 +01:00
Filip Tibell
fa4e6730ea
Thank you clippy 2024-01-27 15:46:03 +01:00
Filip Tibell
bc6909acd4
Use event primitive instead of smol channels in thread queue 2024-01-26 09:57:48 +01:00
Filip Tibell
df2747bae3
Use lock-free storage for runtime thread queue 2024-01-26 09:39:21 +01:00
Filip Tibell
5eeef3fec1
Add safety check and resumption batching to runtime 2024-01-26 09:16:39 +01:00
Filip Tibell
588fc46807
Refactor runtime and callbacks
* Improved ergonomics and flexibility for crate consumers
* Simplified callback mechanism for errors
* Factor out runtime thread queues into proper structs
* Misc performance improvements - approx 20% faster scheduler
2024-01-24 19:50:25 +01:00