aboutsummaryrefslogtreecommitdiffstats
path: root/src/signal_check.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:27:04 +0200
commit726c6e86d304163f0453de611ce03d656d99d1d8 (patch)
tree65bd69165d4467687487453d1e7364d4653be946 /src/signal_check.c
parent8d3942e0c3b4108e8968e914da75bf7c6c43f408 (diff)
downloadmpd-726c6e86d304163f0453de611ce03d656d99d1d8.tar.gz
mpd-726c6e86d304163f0453de611ce03d656d99d1d8.tar.xz
mpd-726c6e86d304163f0453de611ce03d656d99d1d8.zip
don't busy wait for the decoder thread
Busy wait loops are a bad thing, especially when the response time can be very long - busy waits eat a lot of CPU, and thus slow down the other thread. Since the other thread will notify us when it's ready, we can use notify_wait() instead.
Diffstat (limited to 'src/signal_check.c')
0 files changed, 0 insertions, 0 deletions