• Max Kellermann's avatar
    input_curl: use select() to eliminate busy loop during connect · e7c7e652
    Max Kellermann authored
    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.
    e7c7e652
Name
Last commit
Last update
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
valgrind.suppressions Loading commit data...