00001 /* 00002 * 00003 * 00004 * Distributed under the OpenDDS License. 00005 * See: http://www.opendds.org/license.html 00006 */ 00007 00008 #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/ 00009 #include "ThreadSynch.h" 00010 00011 #if !defined (__ACE_INLINE__) 00012 #include "ThreadSynch.inl" 00013 #endif /* __ACE_INLINE__ */ 00014 00015 OpenDDS::DCPS::ThreadSynch::~ThreadSynch() 00016 { 00017 DBG_ENTRY_LVL("ThreadSynch","~ThreadSynch",6); 00018 delete this->resource_; 00019 } 00020 00021 int 00022 OpenDDS::DCPS::ThreadSynch::register_worker_i() 00023 { 00024 DBG_ENTRY_LVL("ThreadSynch","register_worker_i",6); 00025 // Default implementation is to do nothing here. Subclass may override. 00026 return 0; 00027 } 00028 00029 void 00030 OpenDDS::DCPS::ThreadSynch::unregister_worker_i() 00031 { 00032 DBG_ENTRY_LVL("ThreadSynch","unregister_worker_i",6); 00033 // Default implementation is to do nothing here. Subclass may override. 00034 } 00035