jiridanek commented on a change in pull request #300:
URL: https://github.com/apache/qpid-proton/pull/300#discussion_r599047291



##########
File path: c/src/proactor/epoll-internal.h
##########
@@ -315,7 +315,9 @@ static inline void pmutex_init(pthread_mutex_t *pm){
   pthread_mutexattr_t attr;
 
   pthread_mutexattr_init(&attr);
+#ifdef PTHREAD_MUTEX_ADAPTIVE_NP

Review comment:
       ```suggestion
     // PROTON-2346: Some stdlibs (e.g., musl) don't implement 
PTHREAD_MUTEX_ADAPTIVE_NP
     //  Since this option is a performance hint, it should be harmless to drop 
it when it's not available.
   #ifdef PTHREAD_MUTEX_ADAPTIVE_NP
   ```




-- 
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.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to