summaryrefslogtreecommitdiff
path: root/ACE/ace/Log_Msg.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2014-03-17 10:11:16 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2014-03-17 10:11:16 +0000
commita1ec813b4a2e4616d91f9bba734c65dc0097e392 (patch)
tree89202926a206418ad45894b1226272b102bbdd25 /ACE/ace/Log_Msg.h
parent90a9fde21d2740a082aea34d312934b117612e45 (diff)
downloadATCD-a1ec813b4a2e4616d91f9bba734c65dc0097e392.tar.gz
Mon Mar 17 10:12:44 UTC 2014 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Log_Msg.h: * ace/Log_Msg.inl: * ace/Log_Msg.cpp: Don't try to cache the process id, but just call the ACE OS method when needed (which is just in some cases and the operation is inline). Fixes possible data races reported by Intel Inspector XE.
Diffstat (limited to 'ACE/ace/Log_Msg.h')
-rw-r--r--ACE/ace/Log_Msg.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ACE/ace/Log_Msg.h b/ACE/ace/Log_Msg.h
index 0f837babcd2..2c54f27bc8d 100644
--- a/ACE/ace/Log_Msg.h
+++ b/ACE/ace/Log_Msg.h
@@ -668,9 +668,6 @@ private:
/// Name of the local host (used when printing messages).
static const ACE_TCHAR *local_host_;
- /// Process id of the current process.
- static pid_t pid_;
-
/// Options flags used to hold the logger flag options, e.g.,
/// STDERR, LOGGER, OSTREAM, MSG_CALLBACK, etc.
static u_long flags_;