diff options
Diffstat (limited to 'apps/JAWS/PROTOTYPE/JAWS/IO_Acceptor.cpp')
-rw-r--r-- | apps/JAWS/PROTOTYPE/JAWS/IO_Acceptor.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/JAWS/PROTOTYPE/JAWS/IO_Acceptor.cpp b/apps/JAWS/PROTOTYPE/JAWS/IO_Acceptor.cpp index adb42fe16e0..6e8dd7ec352 100644 --- a/apps/JAWS/PROTOTYPE/JAWS/IO_Acceptor.cpp +++ b/apps/JAWS/PROTOTYPE/JAWS/IO_Acceptor.cpp @@ -95,19 +95,15 @@ JAWS_IO_Synch_Acceptor::get_handle (void) JAWS_IO_Asynch_Acceptor::JAWS_IO_Asynch_Acceptor (void) -#if defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS) : acceptor_ (*(new ACE_Asynch_Acceptor<JAWS_Asynch_Handler>)), acceptor_ptr_ (&acceptor_) -#endif { } JAWS_IO_Asynch_Acceptor::~JAWS_IO_Asynch_Acceptor (void) { -#if defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS) delete this->acceptor_ptr_; this->acceptor_ptr_ = 0; -#endif } int @@ -192,19 +188,15 @@ JAWS_IO_Asynch_Acceptor::close (void) #if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -#if defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS) template class ACE_Asynch_Acceptor<JAWS_Asynch_Handler>; -#endif /* defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS) */ -template class ACE_Singleton<JAWS_IO_Asynch_Acceptor, ACE_SYNCH_MUTEX>; template class ACE_Singleton<JAWS_IO_Synch_Acceptor, ACE_SYNCH_MUTEX>; +template class ACE_Singleton<JAWS_IO_Asynch_Acceptor, ACE_SYNCH_MUTEX>; template class ACE_LOCK_SOCK_Acceptor<ACE_SYNCH_MUTEX>; template class ACE_LOCK_SOCK_Acceptor<ACE_SYNCH_NULL_MUTEX>; #elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#if defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS) #pragma instantiate ACE_Asynch_Acceptor<JAWS_Asynch_Handler> -#pragma instantiate ACE_Singleton<JAWS_IO_Asynch_Acceptor, ACE_SYNCH_MUTEX> -#endif /* defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS) */ #pragma instantiate ACE_Singleton<JAWS_IO_Synch_Acceptor, ACE_SYNCH_MUTEX> +#pragma instantiate ACE_Singleton<JAWS_IO_Asynch_Acceptor, ACE_SYNCH_MUTEX> #pragma instantiate ACE_LOCK_SOCK_Acceptor<ACE_SYNCH_MUTEX> #pragma instantiate ACE_LOCK_SOCK_Acceptor<ACE_SYNCH_NULL_MUTEX> #endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |