On 12/11/2014 07:44 PM, Rabbi David Botton wrote: > > I posted another fix that scales cpu usage better, I also know the exact issue > and have sent my current changes to Dmitry and my suggested full fix. The > issue > has to do with the way non-blocking sockets are being used. My fix splits the > working task that handles the communications in to read and write tasks, > blocks > on reads (which makes sense in any environment) and only polls the socket for > availability to send if there is data actually waiting in a queue. I am sure > he > will go with that or think of something better.
This version is more responsive than the previous fix you posted. It does use both my cores at about 75% in response to button clicks toward the end of a game. You should provide the most recent version of Mine Detector, with the protected object to avoid race conditions, rather than the older version that's in your git repository. -- Jeff Carter "If I could find a sheriff who so offends the citizens of Rock Ridge that his very appearance would drive them out of town ... but where would I find such a man? Why am I asking you?" Blazing Saddles 37 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Gnoga-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gnoga-list
