aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-13 19:30:34 +0100
committerMax Kellermann <max@duempel.org>2009-01-13 23:10:15 +0100
commit159d0858d1b041df2c367d69fd41231f95efa179 (patch)
tree6248270fe2be192ccb43e5551f4ddf37ab1c08c6 /TODO
parent7beab74d87cb05d19725da17dc5fe7cc70d383e6 (diff)
downloadmpd-159d0858d1b041df2c367d69fd41231f95efa179.tar.gz
mpd-159d0858d1b041df2c367d69fd41231f95efa179.tar.xz
mpd-159d0858d1b041df2c367d69fd41231f95efa179.zip
input_curl: use select() to eliminate busy loop during connect
When decoder_run_song() (decoder_thread.c) waits for the input stream to become ready, it did that in a busy loop. Add a select() call to input_curl_buffer() during connect/handshake (i.e. before the first chunk of body data was received), to let the CPU relax.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions