sudheerv commented on a change in pull request #7278:
URL: https://github.com/apache/trafficserver/pull/7278#discussion_r505751901
##########
File path: iocore/net/UnixNetVConnection.cc
##########
@@ -79,9 +79,12 @@ static inline int
read_signal_and_update(int event, UnixNetVConnection *vc)
{
vc->recursion++;
- if (vc->read.vio.cont) {
+ if (vc->read.vio.cont && vc->read.vio.mutex == vc->read.vio.cont->mutex) {
vc->read.vio.cont->handleEvent(event, &vc->read.vio);
} else {
+ if (vc->read.vio.cont) {
+ Note("read_signal_and_update: mutexes are different? vc=%p, event=%d",
vc, event);
+ }
Review comment:
Yeah, it's just for debugging. Haven't seen any instances of this log.
We can probably even add release_assert here
----------------------------------------------------------------
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:
[email protected]