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 e2d82fc  PROTON-2277: move comment associated with moved code.  grrr
e2d82fc is described below

commit e2d82fc1fe05e79277fc67c53b087446238a838f
Author: Cliff Jansen <cliffjan...@apache.org>
AuthorDate: Mon Sep 21 09:58:19 2020 -0700

    PROTON-2277: move comment associated with moved code.  grrr
---
 c/src/proactor/epoll-internal.h | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/c/src/proactor/epoll-internal.h b/c/src/proactor/epoll-internal.h
index 56cfdda..1b8edd3 100644
--- a/c/src/proactor/epoll-internal.h
+++ b/c/src/proactor/epoll-internal.h
@@ -242,9 +242,9 @@ typedef struct pconnection_t {
   const char *wbuf_current;
   size_t wbuf_remaining;
   size_t wbuf_completed;
-  pn_event_type_t current_event_type;
-  uint32_t process_args;
-  uint32_t process_events;
+  pn_event_type_t current_event_type;/* Sole use for debugging, i.e. crash 
analysis of optimized code. */
+  uint32_t process_args;             /* Sole use for debugging */
+  uint32_t process_events;           /* Sole use for debugging */
   struct pn_netaddr_t local, remote; /* Actual addresses */
   struct addrinfo *addrinfo;         /* Resolved address list */
   struct addrinfo *ai;               /* Current connect address */
@@ -252,7 +252,6 @@ typedef struct pconnection_t {
   bool io_doublecheck;               /* callbacks made and new IO may have 
arrived */
   bool sched_timeout;
   char addr_buf[1];
-  // For debugging help for core dumps with optimized code.
 } pconnection_t;
 
 /*


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

Reply via email to