diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:04 +0200 |
commit | 726c6e86d304163f0453de611ce03d656d99d1d8 (patch) | |
tree | 65bd69165d4467687487453d1e7364d4653be946 /src/inputPlugins/oggvorbis_plugin.c | |
parent | 8d3942e0c3b4108e8968e914da75bf7c6c43f408 (diff) | |
download | mpd-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/inputPlugins/oggvorbis_plugin.c')
0 files changed, 0 insertions, 0 deletions