• Max Kellermann's avatar
    player_thread: check command before waiting during pause · 408d52fe
    Max Kellermann authored
    While paused, the player thread re-locks its mutex and waits for a
    signal.  This is racy: when the command is set while the thread is
    waiting for the lock, it may wait forever.  This patch adds another
    command check before player_wait().
    408d52fe
player_thread.c 21.5 KB