Add new API; uev_init1(ctx, maxevents) to cap event cache size

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2018-10-02 17:49:32 +02:00
1 parent 32d3842f8a
commit 6fa88eacb4
4 files changed
+35 -2

No files matched your search

+1
View File
@@ -76,6 +76,7 @@ typedef enum {
typedef struct {
int running;
int fd; /* For epoll() */
int maxevents; /* For epoll() */
struct uev *watchers;
uint32_t workaround; /* For workarounds, e.g. redirected stdin */
} uev_ctx_t;