[vlc-devel] [RFC] httpd: allow callback to be polled until they complete

Rémi Denis-Courmont remi at remlab.net
Wed Jul 15 17:47:53 CEST 2009


Le mercredi 15 juillet 2009 18:27:10 Pierre Ynard, vous avez écrit :
> > I fail to see how that will solve the problem. The callback's only
> > chance to return the response is when it is called anyway.
>
> When in waiting state, the callback will be called, again and again
> (like all other clients in waiting state). Until it outputs something.
> So it will get its chance.

But relying on another client to trigger a loop iteration is incorrect.
And busy or poll loops are non-starters.

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




More information about the vlc-devel mailing list