summaryrefslogtreecommitdiff
path: root/thread_win32.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_win32.c
parentd2033d0f06f6962031c51187c73e6bec8cae6e9b (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_win32.c')
-rw-r--r--thread_win32.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/thread_win32.c b/thread_win32.c
index ec5d336589..a8c9b94cd7 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -25,12 +25,6 @@
#define ubf_timer_disarm() do {} while (0)
#define ubf_list_atfork() do {} while (0)
-#define DEBUG_OUT() \
- WaitForSingleObject(&debug_mutex, INFINITE); \
- printf(POSITION_FORMAT"%#lx - %s" POSITION_ARGS, GetCurrentThreadId(), buf); \
- fflush(stdout); \
- ReleaseMutex(&debug_mutex);
-
static volatile DWORD ruby_native_thread_key = TLS_OUT_OF_INDEXES;
static int w32_wait_events(HANDLE *events, int count, DWORD timeout, rb_thread_t *th);