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

Meta

Since

2.32