// $Id$ #if !defined (ACE_LOCK_SOCK_ACCEPTOR_CPP) #define ACE_LOCK_SOCK_ACCEPTOR_CPP #include /**/ "ace/Synch.h" template int ACE_LOCK_SOCK_Acceptor::accept (ACE_SOCK_Stream &stream, ACE_Addr *remote_address, ACE_Time_Value *timeout, int restart, int reset_new_handle) const { ACE_GUARD_RETURN (ACE_LOCK, ace_mon, (ACE_LOCK &) this->lock_, -1); return ACE_SOCK_Acceptor::accept (stream, remote_address, timeout, restart, reset_new_handle); } template ACE_LOCK & ACE_LOCK_SOCK_Acceptor::lock (void) { return this->lock_; } #endif /* ACE_LOCK_SOCK_ACCEPTOR_CPP */