This class helps us with a recursive thread lock without using a recursive thread lock. Non_Servant_Upcall has a magic constructor and destructor. We unlock the Object_Adapter lock for the duration of the non-servant (i.e., adapter activator and servant activator) upcalls; reacquiring once the upcalls complete. Even though we are releasing the lock, other threads will not be able to make progress since <Object_Adapter::non_servant_upcall_in_progress_> has been set.
More...
#include <Non_Servant_Upcall.h>
This class helps us with a recursive thread lock without using a recursive thread lock. Non_Servant_Upcall has a magic constructor and destructor. We unlock the Object_Adapter lock for the duration of the non-servant (i.e., adapter activator and servant activator) upcalls; reacquiring once the upcalls complete. Even though we are releasing the lock, other threads will not be able to make progress since <Object_Adapter::non_servant_upcall_in_progress_> has been set.
TAO::Portable_Server::Non_Servant_Upcall::Non_Servant_Upcall |
( |
::TAO_Root_POA & |
poa | ) |
|
TAO::Portable_Server::Non_Servant_Upcall::~Non_Servant_Upcall |
( |
void |
| ) |
|
TAO_Root_POA & TAO::Portable_Server::Non_Servant_Upcall::poa |
( |
void |
| ) |
const |
TAO_Root_POA& TAO::Portable_Server::Non_Servant_Upcall::poa_ |
|
protected |
The documentation for this class was generated from the following files: