#token #io #waker #tally #runtime #process #events #timeout


A very simple I/O reactor that allows creating green thread-like processes

1 unstable release

0.1.0 Aug 11, 2023

CC0 license

610 lines


A KISS (keep-it-simple-stupid) green threading library built on popol.

Processes implement the Processor thread that is called upon entering the green thread runtime and whenever one of their polls receives an event.

There is support for the following events:

  • explicit wakers
  • I/O events
  • timers/alarms

Ideally, we'd also support mio, but that's a TODO for now.

I recently learned about the io-reactor project that might have significant overlap with this project.


~34K SLoC