From 62e08d4b844a3f4f7a6dadc6083cd0585485931b Mon Sep 17 00:00:00 2001 From: Koichi Sasada Date: Tue, 24 May 2022 15:06:30 +0900 Subject: remove `DEBUG_OUT()` macro This macro is no longer used ([GH-5933]). --- thread_pthread.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'thread_pthread.c') 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 -- cgit v1.2.1