rht_is_owner
| |
rht_code rht_is_owner(rht r, long
*grab_cnt); |
|
Parameters
| |
r |
replica to be queried |
| |
grab_cnt |
recursive lock count of
calling thread on replica |
|
Return Values
|
Description
| |
rht_is_owner returns
the recursive lock count of this thread on a replica.
If grab_cnt is greater than zero, then the calling thread
currently holds the lock and would need to call rht_drop
grab_cnt times before releasing it. If grab_cnt is zero,
then this thread does not currently hold the replica lock.
|
|
Requirements
| |
Header: Declared in rht.h
Library: Use rht.lib
Version: 2.0 |
|
Also See
|