// -*- C++ -*- //============================================================================= /** * @file Select_Reactor.h * * @author Douglas C. Schmidt */ //============================================================================= #ifndef ACE_SELECT_REACTOR_H #define ACE_SELECT_REACTOR_H #include /**/ "ace/pre.h" #include "ace/Select_Reactor_T.h" #include "ace/Reactor_Token_T.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ ACE_BEGIN_VERSIONED_NAMESPACE_DECL typedef ACE_Reactor_Token_T ACE_Select_Reactor_Token; #if defined ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT template class ACE_Export ACE_Select_Reactor_T; #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT */ typedef ACE_Select_Reactor_T ACE_Select_Reactor; #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE == 0) // FUZZ: disable check_for_ACE_Guard /** * @class ACE_Guard< ACE_Reactor_Token_T > * * @brief Template specialization of ACE_Guard for the * ACE_Null_Mutex. * * This specialization is useful since it helps to speedup * performance of the "Null_Mutex" considerably. */ template<> class ACE_Export ACE_Guard< ACE_Reactor_Token_T > { public: ACE_Guard (ACE_Reactor_Token_T &) {} ACE_Guard (ACE_Reactor_Token_T &, int) {} ~ACE_Guard () = default; int acquire () { return 0; } int tryacquire () { return 0; } int release () { return 0; } int locked () { return 1; } int remove () { return 0; } void dump () const {} private: ACE_Guard (const ACE_Guard< ACE_Reactor_Token_T > &) = delete; void operator= (const ACE_Guard< ACE_Reactor_Token_T > &) = delete; ACE_Guard (ACE_Guard > &&) = delete; void operator= (ACE_Guard > &&) = delete; }; // FUZZ: enable check_for_ACE_Guard #endif /* ACE_MT_SAFE && ACE_MT_SAFE == 0 */ ACE_END_VERSIONED_NAMESPACE_DECL #include /**/ "ace/post.h" #endif /* ACE_SELECT_REACTOR_H */