Changes in / [54eb1bb3:42f6e07]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • example/io/simple/server_epoll.c

    r54eb1bb3 r42f6e07  
    8888      }
    8989
    90       ev.events = EPOLLIN | EPOLLONESHOT;
     90      ev.events = EPOLLOUT | EPOLLIN | EPOLLONESHOT;
    9191      ev.data.u64 = (uint64_t)˚
    9292      if (epoll_ctl(epollfd, EPOLL_CTL_ADD, ring.ring_fd, &ev) == -1) {
     
    9999
    100100        while(1) {
    101             BLOCK:
     101            BLOCK:;
    102102            int nfds = epoll_wait(epollfd, events, MAX_EVENTS, -1);
    103103            if (nfds == -1) {
Note: See TracChangeset for help on using the changeset viewer.