TAO  2.0.8
TAO_Wait_On_LF_No_Upcall Class Reference

Wait according to the Leader-Follower model (like TAO_Wait_On_Leader_Follower), but do not allow nested upcalls. More...

#include <Wait_On_LF_No_Upcall.h>


Detailed Description

Wait according to the Leader-Follower model (like TAO_Wait_On_Leader_Follower), but do not allow nested upcalls.

This implementation sets a thread-specific flag on entering wait() that indicates that the thread is unavailable to service upcalls. Connection handler that are acting in a server role cooperate by checking this flag in their handle_input, and returning if they're in a thread that is currently suspending upcalls. The flag gets reset once the reply is received.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines