Synopsis
void ctl_rwlock_claim_write_lock(CTL_RWLOCK_t *rwlock);
Description

ctl_rwlock_claim_write_lock acquires an exclusive write lock on the read-write lock rwlock. ctl_rwlock_claim_write_lock will block waiting for all read and write locks on rwlock to be released.

ctl_rwlock_claim_write_lock is equivalent to, and is implemented by, a call to ctl_rwlock_write_lock specifying CTL_TIMEOUT_INFINITE as the timeout type.