Browse Source

add helpful #define HAVE_EAGAIN_READWRITE

master
Felix von Leitner 6 years ago
parent
commit
7f5a729a1a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      io.h

+ 1
- 0
io.h View File

@@ -66,6 +66,7 @@ void io_check();
/* signal that read/accept/whatever returned EAGAIN */
/* needed for SIGIO and epoll */
void io_eagain(int64 d); /* do not use, API was a bad idea */
#define HAVE_EAGAIN_READWRITE
void io_eagain_read(int64 d); /* use these ones */
void io_eagain_write(int64 d);



Loading…
Cancel
Save