#events #io #green #processes #waker #run-time #called

erin

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

1 unstable release

0.1.0 Aug 11, 2023

#21 in #green

CC0 license

25KB
610 lines

erin

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.

Dependencies

~1–1.8MB
~34K SLoC