• octal's avatar
    Refactored the event-loop so that it's not coupled with the Listener · a425e933
    octal authored
    anymore.
    
    The event-loop has now been extracted inside its own Io::Service
    component which allows us to reuse it.
    A new Io::ServiceGroup class has been introduced for multi-threaded
    I/O. a ServiceGroup will spawn multiple Io::Service inside their own
    thread. Every instance of Io::Service also has its own Io::Handler, the
    handler is not shared between io threads.
    a425e933
os.cc 6.18 KB