support error event, see #644

This commit is contained in:
Cloud Wu
2017-05-27 10:41:29 +08:00
parent a504c5e624
commit 7400e51451
4 changed files with 22 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ struct event {
void * s;
bool read;
bool write;
bool error;
};
static bool sp_invalid(poll_fd fd);