RWLock.readerTrylock

Tries to obtain a read lock on rw_lock and returns true if the read lock was successfully obtained. Otherwise it returns false.

class RWLock
bool
readerTrylock
()

Return Value

Type: bool

true if rw_lock could be locked