This is an automated email from the ASF dual-hosted git repository. cliffjansen pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/master by this push: new b4ce612 PROTON-2328: epoll proactor, use local variable not zeroed task member to track warm pairings b4ce612 is described below commit b4ce6127df4e9be84ebc5a6a98750bf4feb403ad Author: Cliff Jansen <cliffjan...@apache.org> AuthorDate: Mon Jan 25 09:06:29 2021 -0800 PROTON-2328: epoll proactor, use local variable not zeroed task member to track warm pairings --- c/src/proactor/epoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ bool unassign_thread(tslot_t *ts, tslot_state new_state) { 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) { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org