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;
} pub fn tryLockShared(rwl: *PthreadRwLock) bool rwl: *PthreadRwLock pub fn tryLockShared(rwl: *PthreadRwLock) bool {
return std.c.pthread_rwlock_tryrdlock(&rwl.rwlock) == .SUCCESS;
}