summaryrefslogtreecommitdiff
path: root/ACE/ace/Svc_Handler.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-05-02 12:50:09 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-05-02 12:50:09 +0000
commit4d7959e560e48234be297b1185b2bbd5eb408367 (patch)
tree7d64f46bebcbfbe7e88b11ea4728250ca53a499e /ACE/ace/Svc_Handler.cpp
parentb001d8219fa25bb3c0f73c1d5223e70b1cc3a449 (diff)
downloadATCD-4d7959e560e48234be297b1185b2bbd5eb408367.tar.gz
Wed May 2 12:49:37 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Svc_Handler.cpp')
-rw-r--r--ACE/ace/Svc_Handler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Svc_Handler.cpp b/ACE/ace/Svc_Handler.cpp
index 241ed643a06..9873fc95ff0 100644
--- a/ACE/ace/Svc_Handler.cpp
+++ b/ACE/ace/Svc_Handler.cpp
@@ -112,7 +112,7 @@ ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::destroy (void)
// Only delete ourselves if we're not owned by a module and have
// been allocated dynamically.
- if (this->mod_ == 0 && this->dynamic_ && this->closing_ == 0)
+ if (this->mod_ == 0 && this->dynamic_ && this->closing_ == false)
// Will call the destructor, which automatically calls <shutdown>.
// Note that if we are *not* allocated dynamically then the
// destructor will call <shutdown> automatically when it gets run
@@ -137,7 +137,7 @@ ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::ACE_Svc_Handler (ACE_Thread_Manager *tm
ACE_Message_Queue<ACE_SYNCH_USE> *mq,
ACE_Reactor *reactor)
: ACE_Task<ACE_SYNCH_USE> (tm, mq),
- closing_ (0),
+ closing_ (false),
recycler_ (0),
recycling_act_ (0)
{
@@ -287,12 +287,12 @@ ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::~ACE_Svc_Handler (void)
{
ACE_TRACE ("ACE_Svc_Handler<PR_ST_2, ACE_SYNCH_USE>::~ACE_Svc_Handler");
- if (this->closing_ == 0)
+ if (this->closing_ == false)
{
// We're closing down now, so make sure not to call ourselves
// recursively via other calls to handle_close() (e.g., from the
// Timer_Queue).
- this->closing_ = 1;
+ this->closing_ = true;
this->shutdown ();
}