Added event_poll function; optimization experiments
This commit is contained in:
parent
624b949b3f
commit
687641e944
6 changed files with 148 additions and 20 deletions
|
|
@ -54,6 +54,8 @@ int event_reg_timeout(struct timeval t, int (*fn)(int, void*),
|
|||
|
||||
int event_unreg_timeout(int (*fn)(int, void*), void *arg);
|
||||
|
||||
int event_poll(int fd);
|
||||
|
||||
int event_loop(void);
|
||||
|
||||
int event_exit(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue