Function tryLockShared [src]
Prototype
pub fn tryLockShared(rwl: *PthreadRwLock) bool
Parameters
rwl: *PthreadRwLock
Source
pub fn tryLockShared(rwl: *PthreadRwLock) bool {
return std.c.pthread_rwlock_tryrdlock(&rwl.rwlock) == .SUCCESS;
}