#include <ThreadStrategySingle.h>


Public Member Functions | |
| virtual int | enter () |
| virtual int | exit () |
| virtual ::PortableServer::ThreadPolicyValue | type () const |
Private Attributes | |
| TAO_SYNCH_RECURSIVE_MUTEX | lock_ |
Definition at line 44 of file ThreadStrategySingle.h.
| int TAO::Portable_Server::ThreadStrategySingle::enter | ( | void | ) | [virtual] |
Implements TAO::Portable_Server::ThreadStrategy.
Definition at line 22 of file ThreadStrategySingle.cpp.
{
return lock_.acquire();
}
| int TAO::Portable_Server::ThreadStrategySingle::exit | ( | void | ) | [virtual] |
Implements TAO::Portable_Server::ThreadStrategy.
Definition at line 28 of file ThreadStrategySingle.cpp.
{
return lock_.release();
}
| PortableServer::ThreadPolicyValue TAO::Portable_Server::ThreadStrategySingle::type | ( | void | ) | const [virtual] |
Implements TAO::Portable_Server::ThreadStrategy.
Definition at line 34 of file ThreadStrategySingle.cpp.
{
return ::PortableServer::SINGLE_THREAD_MODEL;
}
TAO_SYNCH_RECURSIVE_MUTEX TAO::Portable_Server::ThreadStrategySingle::lock_ [private] |
Definition at line 54 of file ThreadStrategySingle.h.
1.7.0