From: <ibr...@us...> - 2010-08-11 11:23:31
|
Revision: 3651 http://tora.svn.sourceforge.net/tora/?rev=3651&view=rev Author: ibre5041 Date: 2010-08-11 11:23:25 +0000 (Wed, 11 Aug 2010) Log Message: ----------- Do not wait for 1 ms it is too CPU exhaustive Modified Paths: -------------- branches/tora-trotl/src/ts_log/thread_safe_log.h Modified: branches/tora-trotl/src/ts_log/thread_safe_log.h =================================================================== --- branches/tora-trotl/src/ts_log/thread_safe_log.h 2010-08-11 11:22:32 UTC (rev 3650) +++ branches/tora-trotl/src/ts_log/thread_safe_log.h 2010-08-11 11:23:25 UTC (rev 3651) @@ -377,7 +377,7 @@ } else // nothing to write - wait - thread_manager::sleep( 1); + thread_manager::sleep( 100); } } this_class * m_pThis; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |