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