aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2013-11-04 20:24:28 +0100
committerjackpoz <giacomopoz@gmail.com>2013-11-04 20:24:28 +0100
commit7e904b1dc09749a2da12357cbcebd6dc1e8ad470 (patch)
tree94d0eb464ee22a51b8350a9cef37a390dee46f14 /src
parenta34883b93949ac0242f0aa5fb977765c8a94d980 (diff)
Core/Threads: Include Helgrind suppressions file
Include a Helgrind suppressions file under source control. Each suppressed race is either a false positive, a read race followed by a lock acquire anyway, a bool race. Suppressions related to the same issue in the same function are grouped with a counter in brackets [ ] . Fix tabs added in bcee801e4bdbf7d53f15cd0499e9d3aaedd3c3e2 .
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Server/WorldSession.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Server/WorldSession.h b/src/server/game/Server/WorldSession.h
index 42fd77d4bbc..2d7ec9c68c6 100644
--- a/src/server/game/Server/WorldSession.h
+++ b/src/server/game/Server/WorldSession.h
@@ -359,10 +359,10 @@ class WorldSession
void ResetClientTimeDelay() { m_clientTimeDelay = 0; }
uint32 getDialogStatus(Player* player, Object* questgiver, uint32 defstatus);
- ACE_Atomic_Op<ACE_Thread_Mutex, time_t> m_timeOutTime;
+ ACE_Atomic_Op<ACE_Thread_Mutex, time_t> m_timeOutTime;
void UpdateTimeOutTime(uint32 diff)
{
- if (time_t(diff) > m_timeOutTime.value())
+ if (time_t(diff) > m_timeOutTime.value())
m_timeOutTime = 0;
else
m_timeOutTime -= diff;