mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Make 'main/many_events' test 70 fds, not 64.
This is mainly intended to ensure that we don't get hung up on the 64-handle limit that lots of O(n) Windows functions (but FWICT not select) like to enforce.
This commit is contained in:
parent
657d1b6d3f
commit
33874b0528
@ -2014,9 +2014,11 @@ many_event_cb(evutil_socket_t fd, short event, void *arg)
|
||||
static void
|
||||
test_many_events(void *arg)
|
||||
{
|
||||
/* Try 64 events that should all be aready at once. This will
|
||||
* exercise the "resize" code on most of the backends. */
|
||||
#define MANY 64
|
||||
/* Try 70 events that should all be aready at once. This will
|
||||
* exercise the "resize" code on most of the backends, and will make
|
||||
* sure that we can get past the 64-handle limit of some windows
|
||||
* functions. */
|
||||
#define MANY 70
|
||||
|
||||
struct basic_test_data *data = arg;
|
||||
struct event_base *base = data->base;
|
||||
|
Loading…
x
Reference in New Issue
Block a user