Line 0
Link Here
|
|
|
1 |
--- mono/io-layer/handles-private.h.orig 2016-03-08 22:31:48 UTC |
2 |
+++ mono/io-layer/handles-private.h |
3 |
@@ -22,7 +22,7 @@ |
4 |
#include <mono/io-layer/shared.h> |
5 |
#include <mono/utils/atomic.h> |
6 |
|
7 |
-#define _WAPI_PRIVATE_MAX_SLOTS (1024 * 16) |
8 |
+#define _WAPI_PRIVATE_MAX_SLOTS (1024 * 32) |
9 |
#define _WAPI_PRIVATE_HANDLES(x) (_wapi_private_handles [x / _WAPI_HANDLE_INITIAL_COUNT][x % _WAPI_HANDLE_INITIAL_COUNT]) |
10 |
#define _WAPI_PRIVATE_HAVE_SLOT(x) ((GPOINTER_TO_UINT (x) / _WAPI_PRIVATE_MAX_SLOTS) < _WAPI_PRIVATE_MAX_SLOTS && \ |
11 |
_wapi_private_handles [GPOINTER_TO_UINT (x) / _WAPI_HANDLE_INITIAL_COUNT] != NULL) |