ae.c event loop: API to resize the fd set size on the run.

This commit is contained in:
antirez
2013-06-28 16:39:49 +02:00
parent 0a0fd37e5b
commit 75dc48f04a
6 changed files with 57 additions and 1 deletions

View File

@ -114,5 +114,7 @@ int aeWait(int fd, int mask, long long milliseconds);
void aeMain(aeEventLoop *eventLoop);
char *aeGetApiName(void);
void aeSetBeforeSleepProc(aeEventLoop *eventLoop, aeBeforeSleepProc *beforesleep);
int aeGetSetSize(aeEventLoop *eventLoop);
int aeResizeSetSize(aeEventLoop *eventLoop, int setsize);
#endif