3 ms·
Yes, you have to manually insert yield points. Exactly the same as with every cooperative threading system, including Lunatic and Rust's native async/await. Ki
by IshKebab 4y ago
Yes, you have to manually insert yield points. Exactly the same as with every cooperative threading system, including Lunatic and Rust's native async/await.
Kind of feels like we need user space preemptive threading somehow.
- vips7L 4y agoOr just the ability to use native os thread pools for that type of work.
- smasher164 4y agoGo has asynchronous preemption now using signals. Tight loops are preemptible.