aboutsummaryrefslogtreecommitdiffstats
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2023-10-14 02:41:44 +0900
committerKoichi Sasada <ko1@atdot.net>2023-10-14 08:12:53 +0900
commit275c18525c5bd48529fd676cde710f1dedf91b4d (patch)
tree026da56f22d4368e14bde47b6822fbbf5ce3941e /thread_pthread.c
parent5b08e9efd807eae9bb9c0fcd2ab2029aa298fe7e (diff)
downloadruby-275c18525c5bd48529fd676cde710f1dedf91b4d.tar.gz
Allow `NON_SCALAR_THREAD_ID` machines
s390x (Ubuntu) still fails tests with 62dfaeec2c.
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 2435606132..4a240f4fbe 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -71,10 +71,9 @@ static const void *const condattr_monotonic = NULL;
#endif
#ifndef USE_MN_THREADS
- #if defined(__EMSCRIPTEN__) || defined(COROUTINE_PTHREAD_CONTEXT) || defined(NON_SCALAR_THREAD_ID)
+ #if defined(__EMSCRIPTEN__) || defined(COROUTINE_PTHREAD_CONTEXT)
// on __EMSCRIPTEN__ provides epoll* declarations, but no implementations.
// on COROUTINE_PTHREAD_CONTEXT, it doesn't worth to use it.
- // on NON_SCALAR_THREAD_ID, now we can not debug issues on x390s/Ubuntu so skip it.
#define USE_MN_THREADS 0
#elif HAVE_SYS_EPOLL_H
#include <sys/epoll.h>