OpenDDS  Snapshot(2023/04/28-20:55)
ReactorSynch.cpp
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #include "DCPS/DdsDcps_pch.h" //Only the _pch include should start with DCPS/
9 #include "ReactorSynch.h"
10 #include "dds/DCPS/debug.h"
11 
12 #if !defined (__ACE_INLINE__)
13 #include "ReactorSynch.inl"
14 #endif /* __ACE_INLINE__ */
15 
17 {
18  DBG_ENTRY_LVL("ReactorSynch","~ReactorSynch",6);
19 
20  // Release out unmanaged copy of the handler.
21  // The managed copy will perform the actual delete.
23 
24  if (DCPS_debug_level > 4) {
25  std::size_t id = 0;
26  RcHandle<ThreadSynchWorker> worker = this->worker().lock();
27  if( worker) {
28  id = worker->id();
29  }
31  ACE_TEXT("(%P|%t) ReactorSynch::~ReactorSynch() [%d] - ")
32  ACE_TEXT("dismantling synch %C worker.\n"),
33  id,(worker?"with":"without")));
34  }
35 }
36 
37 void
39 {
40  DBG_ENTRY_LVL("ReactorSynch","work_available",6);
41 
42  // Schedule queued data to be sent by the reactor.
44 }
WeakRcHandle< ThreadSynchWorker > worker()
Access the worker implementation directly.
Definition: ThreadSynch.inl:22
#define ACE_DEBUG(X)
ScheduleOutputHandler * scheduleOutputHandler_
Notification event handler.
Definition: ReactorSynch.h:53
LM_DEBUG
void schedule_output()
Update output processing in the reactor.
ACE_TEXT("TCP_Factory")
OpenDDS_Dcps_Export unsigned int DCPS_debug_level
Definition: debug.cpp:30
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition: EntryExit.h:68