Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GUACAMOLE-1293: Do not re-acquire __users_lock while already held for…
… writing. Per POSIX spec, the behavior of acquiring a read lock on a rwlock that's already acquired for writing is undefined. From the documentation for pthread_rwlock_rdlock(): "... Results are undefined if the calling thread holds a write lock on rwlock at the time the call is made."
- Loading branch information