|
|
@ -29,9 +29,6 @@ |
|
|
#include "tr/comm_end_point.h" |
|
|
#include "tr/comm_end_point.h" |
|
|
#include "tr/interface/comm_end_point.h" |
|
|
#include "tr/interface/comm_end_point.h" |
|
|
|
|
|
|
|
|
extern int count_write_ready; |
|
|
|
|
|
int count_write_ready_handle = 0; |
|
|
|
|
|
|
|
|
|
|
|
static |
|
|
static |
|
|
int |
|
|
int |
|
|
ioHandlerCtor(void * _this, va_list * params) |
|
|
ioHandlerCtor(void * _this, va_list * params) |
|
|
@ -93,8 +90,6 @@ ioHandlerWrite(void * _this, TR_Event event) |
|
|
{ |
|
|
{ |
|
|
TR_Event revent, close_event = NULL; |
|
|
TR_Event revent, close_event = NULL; |
|
|
|
|
|
|
|
|
count_write_ready_handle++; |
|
|
|
|
|
|
|
|
|
|
|
switch (TR_cepWriteBuffered((TR_CommEndPoint)event->subject)) { |
|
|
switch (TR_cepWriteBuffered((TR_CommEndPoint)event->subject)) { |
|
|
case FALSE: // EAGAIN |
|
|
case FALSE: // EAGAIN |
|
|
revent = TR_eventSubjectEmit( |
|
|
revent = TR_eventSubjectEmit( |
|
|
|