3 ms·
I have experience as a user, implementation is way over my head. Depending on the minimum host supported, you could only use lightweight threads or write a sche
by narag 4y ago
I have experience as a user, implementation is way over my head. Depending on the minimum host supported, you could only use lightweight threads or write a scheduler. IIRC, JVM started using its own thread implementation and later used the one provided by the host OS, when available.
Best of luck!
- maxime_cb 4y agoAt the moment I have an event-driven system where you can set up callbacks and timers. It's not green threads but it makes it easy to have multiple different update events running at different rates, for example: https://github.com/maximecb/uvm/blob/main/ncc/examples/attackers.c#L326 https://github.com/maximecb/uvm/blob/main/ncc/examples/attac...