Re: [Jsonrpc-cpp-devel] Bug in tcpserver
Brought to you by:
s-vincent
From: Johan G. <Joh...@Pr...> - 2013-08-28 21:45:18
|
Ok sorry! I didn't look there, my bad. Can i ask: why isn't it released yet? Its a fairly common used feature i think. I don't mean to be rude, and i appreciate your work! It works in our application with around 40 methods! Would you currently advise to use the SVN trunk version in a production environment? Verstuurd vanaf mijn iPhone Op 28 aug. 2013 om 18:00 heeft "Sebastien Vincent" <seb...@cp...<mailto:seb...@cp...>> het volgende geschreven: Hi, IIRC I fix this bug in SVN trunk some month ago. Regards, -- Seb Le 28/08/2013 16:36, Johan Gielens a écrit : Hello, I found a bug in jsonrpc_tcpserver.cpp on line 139: tv.tv_usec = (ms % 1000 ) / 1000; should be: tv.tv_usec = (ms % 1000 ) * 1000; If the WaitMessage function is used in a loop, this results in 100% CPU usage with timeouts lower than 1000 ms. Couldn’t find bugzilla so I posted it here. Best regards, Johan ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ Jsonrpc-cpp-devel mailing list Jso...@li...<mailto:Jso...@li...> https://lists.sourceforge.net/lists/listinfo/jsonrpc-cpp-devel |