• Max Kellermann's avatar
    event_pipe: added pipe_event enum and callbacks · b3e2635a
    Max Kellermann authored
    Make the event_pipe (formerly main_notify) send/receive a set of
    events, with a callback for each one.
    
    The default event PIPE_EVENT_SIGNAL does not have a callback.  It
    is still there for waking up the main thread, when it is waiting for
    the player thread.
    b3e2635a
idle.c 1.77 KB