Commit fbbcbc57917cfd61e5df4f2008133eac895a813f
1 parent
82b4cb57
utilize update next poll event functionality from trevent
Showing
3 changed files
with
4 additions
and
2 deletions
| ... | ... | @@ -43,7 +43,8 @@ serverCtor(void * _this, va_list * params) |
| 43 | 43 | { |
| 44 | 44 | TR_Server this = _this; |
| 45 | 45 | |
| 46 | - this->comm_manager = (TR_CommManager)TR_new(TR_CommManagerEpoll); | |
| 46 | + //this->comm_manager = (TR_CommManager)TR_new(TR_CommManagerEpoll); | |
| 47 | + this->comm_manager = (TR_CommManager)TR_new(TR_CommManagerPoll); | |
| 47 | 48 | this->dispatcher = TR_new(TR_EventDispatcher, TR_EVD_SERVER, NULL, 100); |
| 48 | 49 | this->connector = TR_new(TR_Connector); |
| 49 | 50 | this->io_handler = TR_new(TR_IoHandler); | ... | ... |
Please
register
or
login
to post a comment