Re: [Bluez-devel] Question about poll() - was Re: a2dpd and mplayer - any chance to get it working?

Brad Midgley
2007-04-06T05:17:40Z

Frederic

> If poll(x,y,1) is replaced by usleep(1); poll(x,y,0) then cpu usage fall
> back to 0.

poll is returning immediately either with an error or with one of your
conditions met. what is in revents after the return? what conditions are
you interested in?

brad

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash