TAO
2.3.3
|
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>
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.