You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by du...@apache.org on 2018/04/11 22:06:05 UTC
[trafficserver] branch master updated: call signalActivity
This is an automated email from the ASF dual-hosted git repository.
duke8253 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 97f0603 call signalActivity
97f0603 is described below
commit 97f060354c0db8d3057bbdd7416c6369b98aa95a
Author: Fei Deng <du...@gmail.com>
AuthorDate: Wed Apr 11 14:55:10 2018 -0500
call signalActivity
---
iocore/net/UnixNetVConnection.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc
index 9bcc811..263da9a 100644
--- a/iocore/net/UnixNetVConnection.cc
+++ b/iocore/net/UnixNetVConnection.cc
@@ -817,7 +817,9 @@ UnixNetVConnection::reenable(VIO *vio)
nh->write_enable_list.push(this);
}
}
- if (nh->trigger_event) {
+ if (likely(nh->thread)) {
+ nh->thread->tail_cb->signalActivity();
+ } else if (nh->trigger_event) {
nh->trigger_event->ethread->tail_cb->signalActivity();
}
} else {
--
To stop receiving notification emails like this one, please contact
duke8253@apache.org.