[pulseaudio-discuss] [PATCH]raop2: Blocking UDP sockets

Rémi Denis-Courmont remi at remlab.net
Sat Sep 14 04:10:06 PDT 2013


Le vendredi 13 septembre 2013 23:02:15 Hajime Fujita a écrit :
> However, I don't it's a good idea to do a busy loop here, because
> 1) it would consume 100% of the CPU time

No, it won't. poll() will *not* return immediately.

> 2) it would block the message loop (I'm not sure about the real
> implication of this, though)

But yes.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the pulseaudio-discuss mailing list