From: <ibr...@us...> - 2010-10-06 14:24:44
|
Revision: 3742 http://tora.svn.sourceforge.net/tora/?rev=3742&view=rev Author: ibre5041 Date: 2010-10-06 14:24:37 +0000 (Wed, 06 Oct 2010) Log Message: ----------- Use windows critical section. For some unknown reason QT thread manager does not work in debug build. Modified Paths: -------------- branches/tora-trotl/src/tologger.h Modified: branches/tora-trotl/src/tologger.h =================================================================== --- branches/tora-trotl/src/tologger.h 2010-10-06 14:23:36 UTC (rev 3741) +++ branches/tora-trotl/src/tologger.h 2010-10-06 14:24:37 UTC (rev 3742) @@ -4,7 +4,12 @@ #ifdef DEBUG -#define USE_QT_THREAD_MANAGER +#ifdef WIN32 +#define USE_WIN32_THREAD_MANAGER +#else +#define USE_QT_THREAD_MANAGER +#endif + #include "ts_log/critical_section.h" #include "ts_log/message_handler_log.h" #include "ts_log/thread_safe_log.h" @@ -21,7 +26,8 @@ typedef Tdecorator< TSLOG_TYPELIST_6(dashDecorator<4>, - tidDecorator<qt_thread_manager>, + //tidDecorator<qt_thread_manager>, + tidDecorator<win32_thread_manager>, charDecorator<' '>, hereDecorator, dashDecorator<4>, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |