Can pthread_cond_wait() be called with read-write lock?
I know pthread_cond_wait() shall be used with mutex, but I’m curious if it can be used with rwlock.
I know pthread_cond_wait() shall be used with mutex, but I’m curious if it can be used with rwlock.