Re: _st_epoll_dispatch firing too often

Michael Abbott <[email protected]> Tue, 4 Dec 2012 12:11:48 -0600
Newsgroups gmane.comp.lib.state-threads.user
Message-ID <[email protected]>
> _st_epoll_dispatch seems to fire too often when the sleepq is not empty.

On what OS?  Your test program works fine for me on Linux and OS X:

1354644462832661 MAIN diff = 1002671
1354644463832701 MAIN diff = 999990
1354644464832747 MAIN diff = 1000027
1354644465832793 MAIN diff = 1000026
1354644466832836 MAIN diff = 1000020

(I made it print the current st_utime() instead of the pointers, in the first column.)
The "ST diff" messages never even appear.

Are you running in a virtual machine?  VMs have been known to fire timers at unexpected times.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d