JosiahWI commented on issue #13358: URL: https://github.com/apache/trafficserver/issues/13358#issuecomment-4982467082
@saimayithri Whatever thread happens to be holding a `ProxyMutex` at any given time (`ProxyMutex::thread_holding`) is its owner thread. I'm not familiar with the `thread` member on the net classes, but I surmise it is the thread that particular net class is associated with. Any thread could hold the NetHandler mutex at the time of `MUTEX_TRY_LOCK`. The `this->thread == this_ethread()` condition tells us that we are currently running on the appropriate thread for the NetHandler. But the NetHandler does not "own" the lock in the sense that no other thread may lock it. If that were true, there wouldn't need to be a lock at all. -- 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]
