diff options
author | Koichi Sasada <[email protected]> | 2022-05-24 15:06:30 +0900 |
---|---|---|
committer | Koichi Sasada <[email protected]> | 2022-05-24 16:28:07 +0900 |
commit | 62e08d4b844a3f4f7a6dadc6083cd0585485931b (patch) | |
tree | 8bc1665c0157f50b174e857acd74eb667ce0a3a0 /thread_pthread.c | |
parent | d2033d0f06f6962031c51187c73e6bec8cae6e9b (diff) |
remove `DEBUG_OUT()` macro
This macro is no longer used ([GH-5933]).
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5935
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 12 |
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 |