diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-02-26 23:41:49 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-02-26 23:41:49 +0000 |
commit | 09cab8121c20ea393e447cf9330585a3ad38daa0 (patch) | |
tree | d2d6874d0c5bd0c8b3fb3d0f9f9db75b63177629 /ace | |
parent | 4b5884732c0fcba649f111dc4d6da1f888e7abda (diff) | |
download | ATCD-09cab8121c20ea393e447cf9330585a3ad38daa0.tar.gz |
ChangeLogTag:Wed Feb 26 00:38:50 2002 UTC Don Hinton <dhinton@ieee.org>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Select_Reactor.cpp | 22 | ||||
-rw-r--r-- | ace/Select_Reactor_Base.h | 5 | ||||
-rw-r--r-- | ace/Select_Reactor_T.cpp | 8 |
3 files changed, 4 insertions, 31 deletions
diff --git a/ace/Select_Reactor.cpp b/ace/Select_Reactor.cpp index fe5be69789f..168b2cc969b 100644 --- a/ace/Select_Reactor.cpp +++ b/ace/Select_Reactor.cpp @@ -7,17 +7,10 @@ ACE_RCSID(ace, Select_Reactor, "$Id$") #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) # if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) -# if defined (ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION) -template class ACE_Select_Reactor_Token_T<ACE_Local_Mutex>; -template class ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Local_Mutex> >; -template class ACE_Lock_Adapter< ACE_Select_Reactor_Token_T<ACE_Local_Mutex> >; -template class ACE_Guard< ACE_Select_Reactor_Token_T<ACE_Local_Mutex> >; -# else template class ACE_Select_Reactor_Token_T<ACE_Token>; template class ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Token> >; template class ACE_Lock_Adapter< ACE_Select_Reactor_Token_T<ACE_Token> >; template class ACE_Guard< ACE_Select_Reactor_Token_T<ACE_Token> >; -# endif /* ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION */ # else template class ACE_Select_Reactor_Token_T<ACE_Noop_Token>; template class ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Noop_Token> >; @@ -25,17 +18,10 @@ template class ACE_Lock_Adapter< ACE_Select_Reactor_Token_T<ACE_Noop_Token> >; # endif /* ACE_MT_SAFE && ACE_MT_SAFE != 0 */ #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) # if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) -# if defined (ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION) -# pragma instantiate ACE_Select_Reactor_Token_T<ACE_Local_Mutex> -# pragma instantiate ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Local_Mutex> > -# pragma instantiate ACE_Lock_Adapter< ACE_Select_Reactor_Token_T<ACE_Local_Mutex> > -# pragma instantiate ACE_Guard< ACE_Select_Reactor_Token_T<ACE_Local_Mutex> > -# else -# pragma instantiate ACE_Select_Reactor_Token_T<ACE_Token> -# pragma instantiate ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Token> > -# pragma instantiate ACE_Lock_Adapter< ACE_Select_Reactor_Token_T<ACE_Token> > -# pragma instantiate ACE_Guard< ACE_Select_Reactor_Token_T<ACE_Token> > -# endif /* ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION */ +# pragma instantiate ACE_Select_Reactor_Token_T<ACE_Token> +# pragma instantiate ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Token> > +# pragma instantiate ACE_Lock_Adapter< ACE_Select_Reactor_Token_T<ACE_Token> > +# pragma instantiate ACE_Guard< ACE_Select_Reactor_Token_T<ACE_Token> > # else # pragma instantiate ACE_Select_Reactor_Token_T<ACE_Noop_Token> # pragma instantiate ACE_Select_Reactor_T< ACE_Select_Reactor_Token_T<ACE_Noop_Token> > diff --git a/ace/Select_Reactor_Base.h b/ace/Select_Reactor_Base.h index 3ef9935c086..9c088d1d1d9 100644 --- a/ace/Select_Reactor_Base.h +++ b/ace/Select_Reactor_Base.h @@ -36,12 +36,7 @@ typedef void (ACE_Handle_Set::*ACE_FDS_PTMF) (ACE_HANDLE); typedef int (ACE_Event_Handler::*ACE_EH_PTMF) (ACE_HANDLE); #if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0) -#if defined (ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION) -#include "ace/Local_Tokens.h" -typedef ACE_Local_Mutex ACE_SELECT_TOKEN; -#else typedef ACE_Token ACE_SELECT_TOKEN; -#endif /* ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION */ #else typedef ACE_Noop_Token ACE_SELECT_TOKEN; #endif /* ACE_MT_SAFE && ACE_MT_SAFE != 0 */ diff --git a/ace/Select_Reactor_T.cpp b/ace/Select_Reactor_T.cpp index 3790c37e474..a932f29f25b 100644 --- a/ace/Select_Reactor_T.cpp +++ b/ace/Select_Reactor_T.cpp @@ -202,11 +202,7 @@ ACE_Select_Reactor_Token_T<ACE_SELECT_REACTOR_MUTEX>::ACE_Select_Reactor_Token_T { ACE_TRACE ("ACE_Select_Reactor_Token_T::ACE_Select_Reactor_Token"); -#if defined (ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION) - ACE_UNUSED_ARG (s_queue); -#else this->queueing_strategy (s_queue); -#endif } template <class ACE_SELECT_REACTOR_MUTEX> @@ -215,11 +211,7 @@ ACE_Select_Reactor_Token_T<ACE_SELECT_REACTOR_MUTEX>::ACE_Select_Reactor_Token_T { ACE_TRACE ("ACE_Select_Reactor_Token_T::ACE_Select_Reactor_Token"); -#if defined (ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION) - ACE_UNUSED_ARG (s_queue); -#else this->queueing_strategy (s_queue); -#endif } template <class ACE_SELECT_REACTOR_MUTEX> |