commit | b4ce6127df4e9be84ebc5a6a98750bf4feb403ad | [log] [tgz] |
---|---|---|
author | Cliff Jansen <cliffjansen@apache.org> | Mon Jan 25 09:06:29 2021 -0800 |
committer | Cliff Jansen <cliffjansen@apache.org> | Mon Jan 25 09:06:29 2021 -0800 |
tree | f3638e81c7555d34dcc1f713fb5e7d7269ec9e81 | |
parent | 4fc4c7869f470c688777c4f040b0fc31219f4f42 [diff] |
PROTON-2328: epoll proactor, use local variable not zeroed task member to track warm pairings
diff --git a/c/src/proactor/epoll.c b/c/src/proactor/epoll.c index 7467683..8c792e6 100644 --- a/c/src/proactor/epoll.c +++ b/c/src/proactor/epoll.c
@@ -461,7 +461,7 @@ if (tsk && !deleting) { pn_proactor_t *p = tsk->proactor; - ts->prev_task = ts->task; + ts->prev_task = tsk; if (tsk->sched_pending) { // Make sure the task is already scheduled or put it on the ready list if (tsk->sched_ready) {