RecMutex.trylock

Tries to lock rec_mutex. If rec_mutex is already locked by another thread, it immediately returns FALSE. Otherwise it locks rec_mutex and returns TRUE. Since 2.32

class RecMutex
int
trylock
()

Return Value

Type: int

TRUE if rec_mutex could be locked

Meta