From c52c508239c395e9a4f30285bb308c14a90e2595 Mon Sep 17 00:00:00 2001 From: schmidt Date: Fri, 7 Nov 1997 07:37:25 +0000 Subject: *** empty log message *** --- ace/Module.cpp | 80 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) (limited to 'ace/Module.cpp') diff --git a/ace/Module.cpp b/ace/Module.cpp index 72d8fdff41f..93fe1d8b84a 100644 --- a/ace/Module.cpp +++ b/ace/Module.cpp @@ -14,17 +14,17 @@ ACE_ALLOC_HOOK_DEFINE(ACE_Module) -template void -ACE_Module::dump (void) const +template void +ACE_Module::dump (void) const { - ACE_TRACE ("ACE_Module::dump"); + ACE_TRACE ("ACE_Module::dump"); } -template void -ACE_Module::writer (ACE_Task *q, +template void +ACE_Module::writer (ACE_Task *q, int flags /* = M_DELETE_WRITER */) { - ACE_TRACE ("ACE_Module::writer"); + ACE_TRACE ("ACE_Module::writer"); // Close and maybe delete old writer this->close_i (1, flags); @@ -37,11 +37,11 @@ ACE_Module::writer (ACE_Task *q, ACE_SET_BITS (flags_, (flags & M_DELETE_WRITER)); } -template void -ACE_Module::reader (ACE_Task *q, +template void +ACE_Module::reader (ACE_Task *q, int flags /* = M_DELETE_READER */) { - ACE_TRACE ("ACE_Module::reader"); + ACE_TRACE ("ACE_Module::reader"); // Close and maybe delete old writer this->close_i (0, flags); @@ -56,23 +56,23 @@ ACE_Module::reader (ACE_Task *q, // Link this ACE_Module on top of ACE_Module M. -template void -ACE_Module::link (ACE_Module *m) +template void +ACE_Module::link (ACE_Module *m) { - ACE_TRACE ("ACE_Module::link"); + ACE_TRACE ("ACE_Module::link"); this->next (m); this->writer ()->next (m->writer ()); m->reader ()->next (this->reader ()); } -template int -ACE_Module::open (const char *mod_name, - ACE_Task *writer_q, - ACE_Task *reader_q, +template int +ACE_Module::open (const char *mod_name, + ACE_Task *writer_q, + ACE_Task *reader_q, void *arg, int flags /* = M_DELETE */) { - ACE_TRACE ("ACE_Module::open"); + ACE_TRACE ("ACE_Module::open"); this->name (mod_name); this->arg_ = arg; @@ -85,13 +85,13 @@ ACE_Module::open (const char *mod_name, if (writer_q == 0) { - writer_q = new ACE_Thru_Task; + writer_q = new ACE_Thru_Task; ACE_SET_BITS (flags, M_DELETE_WRITER); } if (reader_q == 0) { - reader_q = new ACE_Thru_Task; + reader_q = new ACE_Thru_Task; ACE_SET_BITS (flags, M_DELETE_READER); } @@ -123,10 +123,10 @@ ACE_Module::open (const char *mod_name, // Set and get pointer to sibling ACE_Task in ACE_Module. -template ACE_Task * -ACE_Module::sibling (ACE_Task *orig) +template ACE_Task * +ACE_Module::sibling (ACE_Task *orig) { - ACE_TRACE ("ACE_Module::sibling"); + ACE_TRACE ("ACE_Module::sibling"); if (this->q_pair_[0] == orig) return this->q_pair_[1]; else if (this->q_pair_[1] == orig) @@ -135,36 +135,36 @@ ACE_Module::sibling (ACE_Task *orig) return 0; } -template -ACE_Module::ACE_Module (void) +template +ACE_Module::ACE_Module (void) : flags_ (0) { - ACE_TRACE ("ACE_Module::ACE_Module"); + ACE_TRACE ("ACE_Module::ACE_Module"); this->name (""); // Do nothing... this->q_pair_[0] = 0; this->q_pair_[1] = 0; } -template -ACE_Module::~ACE_Module (void) +template +ACE_Module::~ACE_Module (void) { - ACE_TRACE ("ACE_Module::~ACE_Module"); + ACE_TRACE ("ACE_Module::~ACE_Module"); // Only close down if we haven't already done so. if (this->reader () || this->writer ()) this->close (); } -template -ACE_Module::ACE_Module (const char *mod_name, - ACE_Task *writer_q, - ACE_Task *reader_q, +template +ACE_Module::ACE_Module (const char *mod_name, + ACE_Task *writer_q, + ACE_Task *reader_q, void *args, int flags /* = M_DELETE */) : flags_ (0) { - ACE_TRACE ("ACE_Module::ACE_Module"); + ACE_TRACE ("ACE_Module::ACE_Module"); this->q_pair_[0] = 0; this->q_pair_[1] = 0; @@ -173,10 +173,10 @@ ACE_Module::ACE_Module (const char *mod_name, ACE_ERROR ((LM_ERROR, "%p\n", "ACE_Module")); } -template int -ACE_Module::close (int flags /* = M_DELETE_NONE */) +template int +ACE_Module::close (int flags /* = M_DELETE_NONE */) { - ACE_TRACE ("ACE_Module::close"); + ACE_TRACE ("ACE_Module::close"); int result = 0; @@ -191,18 +191,18 @@ ACE_Module::close (int flags /* = M_DELETE_NONE */) return result; } -template int -ACE_Module::close_i (int which, +template int +ACE_Module::close_i (int which, int flags) { - ACE_TRACE ("ACE_Module::close_i"); + ACE_TRACE ("ACE_Module::close_i"); if (this->q_pair_[which] == 0) return 0; // Copy task pointer to prevent problems when ACE_Task::close // changes the task pointer - ACE_Task *task = this->q_pair_[which]; + ACE_Task *task = this->q_pair_[which]; // Change so that close doesn't get called again from the task base. -- cgit v1.2.1