[Opalvoip-svn] SF.net SVN: opalvoip:[34605] ptlib/trunk/include/ptlib/syslog.h
Brought to you by:
csoutheren,
rjongbloed
|
From: <rjo...@us...> - 2016-02-08 09:51:44
|
Revision: 34605
http://sourceforge.net/p/opalvoip/code/34605
Author: rjongbloed
Date: 2016-02-08 09:51:42 +0000 (Mon, 08 Feb 2016)
Log Message:
-----------
Fix race condition, that really isn't, detected by GCC thread sanitizer.
Modified Paths:
--------------
ptlib/trunk/include/ptlib/syslog.h
Modified: ptlib/trunk/include/ptlib/syslog.h
===================================================================
--- ptlib/trunk/include/ptlib/syslog.h 2016-02-08 09:50:46 UTC (rev 34604)
+++ ptlib/trunk/include/ptlib/syslog.h 2016-02-08 09:51:42 UTC (rev 34605)
@@ -159,7 +159,7 @@
//@}
protected:
- PSystemLog::Level m_thresholdLevel;
+ PAtomicEnum<PSystemLog::Level> m_thresholdLevel;
private:
PSystemLogTarget(const PSystemLogTarget & other);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|