summaryrefslogtreecommitdiff
path: root/ace/Log_Msg.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-12-21 18:20:32 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-12-21 18:20:32 +0000
commit7ec2da4c782dce0486cb763b5f23c2b73636054c (patch)
treef0de331ba9d12a77ac3921c9b59e332f215a38ac /ace/Log_Msg.h
parent050b3c596d140de0c3236ce7cae927a5864c969b (diff)
downloadATCD-7ec2da4c782dce0486cb763b5f23c2b73636054c.tar.gz
ChangeLogTag:Tue Dec 21 08:02:43 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Log_Msg.h')
-rw-r--r--ace/Log_Msg.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/ace/Log_Msg.h b/ace/Log_Msg.h
index 74d70b74676..87f1b200928 100644
--- a/ace/Log_Msg.h
+++ b/ace/Log_Msg.h
@@ -104,7 +104,7 @@
class ACE_Export ACE_Log_Msg_Callback
{
// = TITLE
- // An interface class used for getting logging callbacks.
+ // An interface class used to get logging callbacks.
//
// = DESCRIPTION
// Users who are interested in getting the logging messages
@@ -122,7 +122,9 @@ class ACE_Export ACE_Log_Msg_Callback
// Therefore, you may need to register your callback object with
// many <ACE_Log_Msg> objects (and have the correct
// synchronization in the <log> method) or have a separate
- // callback object per Log_Msg object.
+ // callback object per Log_Msg object. Moreover,
+ // <ACE_Log_Msg_Callbacks> are not inherited when a new thread
+ // is spawned, so you'll need to reset these in each new thread.
public:
virtual ~ACE_Log_Msg_Callback (void);
// No-op virtual destructor.
@@ -289,7 +291,9 @@ public:
ACE_Log_Msg_Callback *msg_callback (ACE_Log_Msg_Callback *c);
ACE_Log_Msg_Callback *msg_callback (void) const;
// Set a new callback object and return the existing callback to
- // allow "chaining".
+ // allow "chaining". Note that <ACE_Log_Msg_Callback>s are not
+ // inherited when spawning a new thread, so you'll need to reset
+ // them in each thread.
// = Nesting depth increment and decrement.
int inc (void);