This is an automated email from the ASF dual-hosted git repository. cliffjansen pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
The following commit(s) were added to refs/heads/main by this push: new 5101a6f PROTON-2484: epoll proactor - update fix for new introduced TSAN race 5101a6f is described below commit 5101a6f72485bd21e39ca62c956edd122954d260 Author: Cliff Jansen <cliffjan...@apache.org> AuthorDate: Thu Jan 13 11:24:54 2022 -0800 PROTON-2484: epoll proactor - update fix for new introduced TSAN race --- c/src/proactor/epoll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/c/src/proactor/epoll.c b/c/src/proactor/epoll.c index aa1bd1b..e375f11 100644 --- a/c/src/proactor/epoll.c +++ b/c/src/proactor/epoll.c @@ -1670,9 +1670,9 @@ static void listener_begin_close(pn_listener_t* l) { void pn_listener_close(pn_listener_t* l) { bool notify = false; - pn_proactor_t *p = l->task.proactor; lock(&l->task.mutex); - if (l->task.proactor && !l->task.closing) { + pn_proactor_t *p = l->task.proactor; + if (p && !l->task.closing) { listener_begin_close(l); notify = schedule(&l->task); } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org