Showing
5 changed files
with
2 additions
and
15 deletions
... | ... | @@ -38,8 +38,6 @@ |
38 | 38 | |
39 | 39 | struct epoll_event events[MAXEVENTS]; |
40 | 40 | |
41 | -extern int count_write_ready; | |
42 | - | |
43 | 41 | static |
44 | 42 | int |
45 | 43 | commManagerEpollCtor(void * _this, va_list * params) |
... | ... | @@ -124,7 +122,6 @@ TR_commManagerEpollSelect(void * _this, TR_Event event, int timeout) |
124 | 122 | |
125 | 123 | TR_eventHandlerIssueEvent((TR_EventHandler)this, _event); |
126 | 124 | this->events[i].events &= ~EPOLLOUT; |
127 | - count_write_ready++; | |
128 | 125 | } |
129 | 126 | } |
130 | 127 | } | ... | ... |
... | ... | @@ -29,9 +29,6 @@ |
29 | 29 | #include "tr/comm_end_point.h" |
30 | 30 | #include "tr/interface/comm_end_point.h" |
31 | 31 | |
32 | -extern int count_write_ready; | |
33 | -int count_write_ready_handle = 0; | |
34 | - | |
35 | 32 | static |
36 | 33 | int |
37 | 34 | ioHandlerCtor(void * _this, va_list * params) |
... | ... | @@ -93,8 +90,6 @@ ioHandlerWrite(void * _this, TR_Event event) |
93 | 90 | { |
94 | 91 | TR_Event revent, close_event = NULL; |
95 | 92 | |
96 | - count_write_ready_handle++; | |
97 | - | |
98 | 93 | switch (TR_cepWriteBuffered((TR_CommEndPoint)event->subject)) { |
99 | 94 | case FALSE: // EAGAIN |
100 | 95 | revent = TR_eventSubjectEmit( | ... | ... |
... | ... | @@ -32,8 +32,6 @@ |
32 | 32 | #include "tr/comm_end_point.h" |
33 | 33 | #include "tr/interface/comm_end_point.h" |
34 | 34 | |
35 | -int count_write_ready = 0; | |
36 | - | |
37 | 35 | static |
38 | 36 | int |
39 | 37 | protocolHandlerCtor(void * _this, va_list * params) |
... | ... | @@ -93,8 +91,6 @@ protocolHandlerCompose(void * _this, TR_Event event) |
93 | 91 | NULL); |
94 | 92 | |
95 | 93 | TR_eventHandlerIssueEvent((TR_EventHandler)_this, _event); |
96 | - | |
97 | - count_write_ready++; | |
98 | 94 | } else { |
99 | 95 | //printf("%s: compose failed\n", __func__); |
100 | 96 | } | ... | ... |
Please
register
or
login
to post a comment