swebb2066 commented on PR #190:
URL: https://github.com/apache/logging-log4cxx/pull/190#issuecomment-1418443566

   Having looked deeper at the [Linux futex 
docs](https://man7.org/linux/man-pages/man2/futex.2.html) and [the glibc 
pthread 
implementation](https://github.com/lattera/glibc.git/nptl/pthread_mutex_lock.c),
 I now believe glibc does do priority inheritance locking by default.
   
   It looks like it is not necessary to explicitly set the PRIO_INHERIT 
protocol on a mutex. `pthread_mutex_lock.c` only uses `FUTEX_LOCK_PI` and does 
not use `FUTEX_WAIT`.
   
   This PR is no longer necessary


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to