1 Locking rwlock via pthread_rwlock_wrlock().
2 Locking rwlock via pthread_rwlock_trywrlock().
3 Locking rwlock via pthread_rwlock_timedwrlock().
4 Locking rwlock via pthread_rwlock_rdlock().
5 Locking rwlock via pthread_rwlock_tryrdlock().
6 Locking rwlock via pthread_rwlock_timedrdlock().
7 Attempt to lock for writing recursively (not allowed).
8 Locking mutex via pthread_mutex_trylock().
9 Locking mutex via pthread_mutex_lock().
10 Locking mutex via pthread_mutex_timedlock().