Package: mpc
Version: 0.16-1
Severity: normal

Reading mpc manpage I noticed the nice addition of the idle command.
However it does not work. Well actually it does work, it only is worse
than polling, because it loops over recvfrom consuming one cpu. The
following line keeps repeating in strace output:

recvfrom(3, 0x1d5016c, 16384, 0, 0, 0)  = -1 EAGAIN (Resource temporarily 
unavailable)

The socket is non-blocking and libmpdclient.c will wait until it becomes
readable before reading for all commands except for idle. I did not find
out why mpc does this, so I don't want to provide a patch possibly
breaking other things.

Helmut

-- System Information:
Versions of packages mpc suggests:
ii  mpd                           0.15-2     Music Player Daemon



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to