readerTrylock

⚠️ Deprecated ⚠️

This is deprecated since version 2.32.

Use g_rw_lock_reader_trylock() instead

---

Tries to lock @lock for reading. If @lock is already locked for writing by another thread or if another thread is already waiting to lock @lock for writing, immediately returns false. Otherwise locks

Return

true, if @lock could be locked for reading