ACE_TP_Token_Guard Class ReferenceA helper class that helps grabbing, releasing and waiting on tokens for a thread that tries calling handle_events (). More...
Detailed DescriptionA helper class that helps grabbing, releasing and waiting on tokens for a thread that tries calling handle_events ().In short, this class will be owned by one thread by creating on the stack. This class gives the status of the ownership of the token and manages the ownership Constructor & Destructor Documentation
Constructor that will grab the token for us.
Destructor. This will release the token if it hasnt been released till this point
Member Function Documentation
Release the token ..
Returns whether the thread that created this object ownes the token or not.
A helper method that grabs the token for us, after which the thread that owns that can do some actual work.
A helper method that grabs the token for us, after which the thread that owns that can do some actual work. This differs from acquire_read_token() as it uses acquire () to get the token instead of acquire_read ()
Member Data DocumentationThe Select Reactor token.
Flag that indicate whether the thread that created this object owns the token or not. A value of false indicates that this class hasnt got the token (and hence the thread) and a value of true vice-versa.
The documentation for this class was generated from the following files: Generated on Mon Sep 15 07:18:00 2008 for ACE by 1.5.5 |