Skip to content
  • Nick Mathewson's avatar
    Turn 'mainloop' into a subsystem. · 6eb1b8da
    Nick Mathewson authored
    We need a little refactoring for this to work, since the
    initialization code for the periodic events assumes that libevent is
    already initialized, which it can't be until it's configured.
    
    This change, combined with the previous ones, lets other subsystems
    declare their own periodic events, without mainloop.c having to know
    about them.  Implements ticket 30293.
    6eb1b8da