summaryrefslogtreecommitdiff
path: root/ACE/ace/Task_T.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-10-03 19:38:24 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-10-03 19:38:24 +0000
commit7a96a0d98d9bc982ef3964a8bfd69913a3ca4373 (patch)
tree71bb43af2b5138b239bf793029785076922d9ac2 /ACE/ace/Task_T.cpp
parent120546b69ce995607de011978e2b0ba51b073cda (diff)
downloadATCD-7a96a0d98d9bc982ef3964a8bfd69913a3ca4373.tar.gz
Wed Oct 3 19:31:15 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Task_T.cpp')
-rw-r--r--ACE/ace/Task_T.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ACE/ace/Task_T.cpp b/ACE/ace/Task_T.cpp
index c54449276d1..cb7010d0bda 100644
--- a/ACE/ace/Task_T.cpp
+++ b/ACE/ace/Task_T.cpp
@@ -48,7 +48,7 @@ ACE_Task<ACE_SYNCH_USE>::ACE_Task (ACE_Thread_Manager *thr_man,
ACE_Message_Queue<ACE_SYNCH_USE> *mq)
: ACE_Task_Base (thr_man),
msg_queue_ (0),
- delete_msg_queue_ (0),
+ delete_msg_queue_ (false),
mod_ (0),
next_ (0)
{
@@ -58,7 +58,7 @@ ACE_Task<ACE_SYNCH_USE>::ACE_Task (ACE_Thread_Manager *thr_man,
{
ACE_NEW (mq,
ACE_Message_Queue<ACE_SYNCH_USE>);
- this->delete_msg_queue_ = 1;
+ this->delete_msg_queue_ = true;
}
this->msg_queue_ = mq;
@@ -73,7 +73,7 @@ ACE_Task<ACE_SYNCH_USE>::~ACE_Task (void)
// These assignments aren't strickly necessary but they help guard
// against odd race conditions...
- this->delete_msg_queue_ = 0;
+ this->delete_msg_queue_ = false;
}
template<ACE_SYNCH_DECL> ACE_Task<ACE_SYNCH_USE> *