On Fri, Jun 05, 2009 at 03:32:54PM +0400, Yuriy Kaminskiy wrote: > Fragment of strace paused gtk-gnash/agg 0.8.5 with "set delay 50": > ioctl(3, FIONREAD, [0]) = 0 > gettimeofday({1244200744, 140595}, NULL) = 0 > poll([{fd=3, events=POLLIN}], 1, 49) = 0 > gettimeofday({1244200744, 196519}, NULL) = 0 > ioctl(3, FIONREAD, [0]) = 0 > > Fragment of strace paused gtk-gnash/agg 0.8.5 with commented "set delay": > gettimeofday({1244200978, 360721}, NULL) = 0 > poll([{fd=3, events=POLLIN}], 1, 9) = 0 > gettimeofday({1244200978, 376522}, NULL) = 0 > ioctl(3, FIONREAD, [0]) = 0 > > This is not right at all. Unless you have running timer (and no timer > run in paused mode), you should not set timeout in poll() at all > (something like poll(nfd, fds, -1)); or, at least, set it way higher.
Any chance to also find the spot in gnash calling poll() ? Also, which movie was gnash running during your strace calls ? > See also http://www.lesswatts.org/projects/applications-power-management/ Thanks, worth adding to the wiki. Anyone ? --strk; Free GIS & Flash consultant/developer () ASCII Ribbon Campaign http://foo.keybit.net/~strk/services.html /\ Keep it simple! _______________________________________________ Gnash-dev mailing list Gnash-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-dev