mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-14 13:26:16 +01:00
win32: increase the fds and pollees on the gpoll test
Also change the repeat define to do a single pass so we do not timeout
This commit is contained in:
parent
24714b50df
commit
a9ea169b64
@ -19,12 +19,12 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <Winsock2.h>
|
#include <Winsock2.h>
|
||||||
|
|
||||||
#define NUM_POLLEES 63
|
#define NUM_POLLEES 999
|
||||||
#define NUM_POLLFDS 64
|
#define NUM_POLLFDS 1000
|
||||||
|
|
||||||
#define ASYNC_CONNECT_OK(r) (r == 0 || (r < 0 && GetLastError () == WSAEWOULDBLOCK))
|
#define ASYNC_CONNECT_OK(r) (r == 0 || (r < 0 && GetLastError () == WSAEWOULDBLOCK))
|
||||||
|
|
||||||
#define REPEAT 1000
|
#define REPEAT 1
|
||||||
|
|
||||||
static void
|
static void
|
||||||
init_networking (void)
|
init_networking (void)
|
||||||
|
Loading…
Reference in New Issue
Block a user