From d3be5dba961d62efe62a0717b8e57854a314ae94 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 22 May 2021 18:11:09 +0200 Subject: [PATCH] Reduce number of created threads, as sometimes it hits the limits --- tests/test-mishared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-mishared.c b/tests/test-mishared.c index facb1ccb..5f536b54 100644 --- a/tests/test-mishared.c +++ b/tests/test-mishared.c @@ -106,7 +106,7 @@ static void test_static(void) ishared2_clear(p2); } -#define MAX_THREAD 256 +#define MAX_THREAD 128 #define MAX_VAR 5 #define VAL(x) { ISHARED_PTR_STATIC_INIT(ishared1, struct ishared_s), ISHARED_PTR_STATIC_INIT(ishared2, struct ishared_s), { 0 } }