bneradt commented on code in PR #9442:
URL: https://github.com/apache/trafficserver/pull/9442#discussion_r1113308652


##########
iocore/hostdb/P_RefCountCache.h:
##########
@@ -169,7 +170,7 @@ template <class C> class RefCountCachePartition
 
   hash_type &get_map();
 
-  Ptr<ProxyMutex> lock; // Lock
+  ink_rwlock lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP;

Review Comment:
   Maybe I need to since apparently freebsd/osx don't support 
PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to