phongn commented on code in PR #10867:
URL: https://github.com/apache/trafficserver/pull/10867#discussion_r1408760422


##########
src/tscore/ink_mutex.cc:
##########
@@ -35,7 +35,7 @@ class x_pthread_mutexattr_t
   x_pthread_mutexattr_t()
   {
     pthread_mutexattr_init(&attr);
-#ifndef POSIX_THREAD_10031c
+#if HAVE_PTHREAD_MUTEXATTR_SETPSHARED
     pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_SHARED);

Review Comment:
   I am not sure if this is the correct change here. The old code essentially 
disabled this call and it dates to the original SVN import. 
   
   Should it continue to be ignored, and if so, should it be deleted? 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to