summaryrefslogtreecommitdiff
path: root/thread_pthread.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2022-05-24 15:06:30 +0900
committerKoichi Sasada <ko1@atdot.net>2022-05-24 16:28:07 +0900
commit62e08d4b844a3f4f7a6dadc6083cd0585485931b (patch)
tree8bc1665c0157f50b174e857acd74eb667ce0a3a0 /thread_pthread.c
parentd2033d0f06f6962031c51187c73e6bec8cae6e9b (diff)
downloadruby-62e08d4b844a3f4f7a6dadc6083cd0585485931b.tar.gz
remove `DEBUG_OUT()` macro
This macro is no longer used ([GH-5933]).
Diffstat (limited to 'thread_pthread.c')
-rw-r--r--thread_pthread.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/thread_pthread.c b/thread_pthread.c
index 2108431456..451f47e07f 100644
--- a/thread_pthread.c
+++ b/thread_pthread.c
@@ -51,18 +51,6 @@
# define USE_EVENTFD (0)
#endif
-#ifdef NON_SCALAR_THREAD_ID
- #define DEBUG_OUT_NT_ID (NULL)
-#else
- #define DEBUG_OUT_NT_ID ((void *)pthread_self())
-#endif
-
-#define DEBUG_OUT() \
- pthread_mutex_lock(&debug_mutex); \
- printf(POSITION_FORMAT"%"PRI_THREAD_ID" - %s" POSITION_ARGS, DEBUG_OUT_NT_ID, buf); \
- fflush(stdout); \
- pthread_mutex_unlock(&debug_mutex);
-
#if defined(SIGVTALRM) && !defined(__CYGWIN__) && !defined(__EMSCRIPTEN__)
# define USE_UBF_LIST 1
#endif