diff options
Diffstat (limited to 'apps/JAWS/PROTOTYPE/JAWS/Reaper.cpp')
-rw-r--r-- | apps/JAWS/PROTOTYPE/JAWS/Reaper.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/apps/JAWS/PROTOTYPE/JAWS/Reaper.cpp b/apps/JAWS/PROTOTYPE/JAWS/Reaper.cpp deleted file mode 100644 index 21538bef87f..00000000000 --- a/apps/JAWS/PROTOTYPE/JAWS/Reaper.cpp +++ /dev/null @@ -1,36 +0,0 @@ -// $Id$ - -#include "JAWS/Reaper.h" -#include "JAWS/Concurrency.h" - -JAWS_Reaper::JAWS_Reaper (JAWS_Concurrency_Base *concurrency) - : concurrency_ (concurrency) -{ -} - -JAWS_Reaper::~JAWS_Reaper (void) -{ -} - -int -JAWS_Reaper::open (void *) -{ - if (this->waiting_ == 0) - { - ACE_Guard<ACE_SYNCH_MUTEX> g (this->lock_); - if (this->waiting_ == 0) - { - if (this->activate () == -1) - ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "JAWS_Reaper::activate"), - -1); - this->waiting_ = 1; - } - } - return 0; -} - -int -JAWS_Reaper::svc (void) -{ - return this->concurrency_->wait (); -} |