Allow NON_SCALAR_THREAD_ID machines

s390x (Ubuntu) still fails tests with 62dfaeec2c.
This commit is contained in:
Koichi Sasada 2023-10-14 02:41:44 +09:00
parent 5b08e9efd8
commit 275c18525c

View File

@ -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>