OpenDDS  Snapshot(2023/04/28-20:55)
ReactorSynchStrategy.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 "ReactorSynchStrategy.h"
10 #include "ReactorSynch.h"
11 
12 #if !defined (__ACE_INLINE__)
13 #include "ReactorSynchStrategy.inl"
14 #endif /* __ACE_INLINE__ */
15 
17 {
18  DBG_ENTRY_LVL("ReactorSynchStrategy","~ReactorSynchStrategy",6);
19 }
20 
23  ThreadSynchResource* synch_resource, long, long)
24 {
25  DBG_ENTRY_LVL("ReactorSynchStrategy","create_synch_object",6);
26  return new ReactorSynch(
27  synch_resource, strategy_, reactor_);
28 }
Send thread synchronization utilizing a reactor.
Definition: ReactorSynch.h:39
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
Definition: EntryExit.h:68
virtual ThreadSynch * create_synch_object(ThreadSynchResource *synch_resource, long priority=0, long scheduler=0)