You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/06/02 18:18:35 UTC

qpid-proton git commit: PROTON-1493: c epoll proactor fix bug in interrupt

Repository: qpid-proton
Updated Branches:
  refs/heads/master 4f724ace0 -> 54645b793


PROTON-1493: c epoll proactor fix bug in interrupt

Missing rearm of interrupt file descriptor.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/54645b79
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/54645b79
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/54645b79

Branch: refs/heads/master
Commit: 54645b79372d60b51462ce832c5213e8dcb9d86c
Parents: 4f724ac
Author: Alan Conway <ac...@redhat.com>
Authored: Fri Jun 2 14:09:04 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Fri Jun 2 14:12:08 2017 -0400

----------------------------------------------------------------------
 proton-c/src/proactor/epoll.c | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/54645b79/proton-c/src/proactor/epoll.c
----------------------------------------------------------------------
diff --git a/proton-c/src/proactor/epoll.c b/proton-c/src/proactor/epoll.c
index b258da3..3e5327e 100644
--- a/proton-c/src/proactor/epoll.c
+++ b/proton-c/src/proactor/epoll.c
@@ -1674,6 +1674,7 @@ static bool proactor_remove(pcontext_t *ctx) {
 
 static pn_event_batch_t *process_inbound_wake(pn_proactor_t *p, epoll_extended_t *ee) {
   if  (ee->fd == p->interruptfd) {        /* Interrupts have their own dedicated eventfd */
+    rearm(p, &p->epoll_interrupt);
     return proactor_process(p, PN_PROACTOR_INTERRUPT);
   }
   pcontext_t *ctx = wake_pop_front(p);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org