diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 06:55:08 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 06:55:08 +0200 |
commit | b42974eee12414e28157f53b0d7095515b788785 (patch) | |
tree | efb8d5ec6ac109744a4f775c45fe732b139367ce /src/pcm_utils.h | |
parent | 46eda29d1cd5948ca1342dd4c45d3e8c4d51e205 (diff) | |
download | mpd-b42974eee12414e28157f53b0d7095515b788785.tar.gz mpd-b42974eee12414e28157f53b0d7095515b788785.tar.xz mpd-b42974eee12414e28157f53b0d7095515b788785.zip |
notify: loop while no signal is pending
pthread_cond_wait() may wake up spuriously. To prevent superfluous
state checks, loop until the "pending" flag becomes true. Removed the
dangerous assertion.
Diffstat (limited to 'src/pcm_utils.h')
0 files changed, 0 insertions, 0 deletions