ACE_Read_Guard< ACE_LOCK > Class Template ReferenceThis class is similar to class ACE_Guard, though it acquires/releases a read lock automatically (naturally, the <ACE_LOCK> it is instantiated with must support the appropriate API). More...
Inheritance diagram for ACE_Read_Guard< ACE_LOCK >:
![]()
Collaboration diagram for ACE_Read_Guard< ACE_LOCK >:
![]()
Detailed Descriptiontemplate<class ACE_LOCK>
This class is similar to class ACE_Guard, though it acquires/releases a read lock automatically (naturally, the <ACE_LOCK> it is instantiated with must support the appropriate API). |
ACE_INLINE ACE_Read_Guard< ACE_LOCK >::ACE_Read_Guard | ( | ACE_LOCK & | m | ) | [inline] |
Implicitly and automatically acquire a read lock.
ACE_INLINE ACE_Read_Guard< ACE_LOCK >::ACE_Read_Guard | ( | ACE_LOCK & | m, | |
bool | block | |||
) | [inline] |
Implicitly and automatically acquire (or try to acquire) a read lock.
ACE_INLINE int ACE_Read_Guard< ACE_LOCK >::acquire_read | ( | void | ) | [inline] |
Explicitly acquire the read lock.
ACE_INLINE int ACE_Read_Guard< ACE_LOCK >::acquire | ( | void | ) | [inline] |
ACE_INLINE int ACE_Read_Guard< ACE_LOCK >::tryacquire_read | ( | void | ) | [inline] |
Conditionally acquire the read lock (i.e., won't block).
ACE_INLINE int ACE_Read_Guard< ACE_LOCK >::tryacquire | ( | void | ) | [inline] |
void ACE_Read_Guard< ACE_LOCK >::dump | ( | void | ) | const [inline] |