summaryrefslogtreecommitdiff
path: root/thread_win32.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-16 09:16:11 (GMT)
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-16 09:16:11 (GMT)
commite3f6429effd6d63d106d72eb757c78a4cdab2e4a (patch)
treeda9db36691986d35c8b3423ab00df8fbf742d481 /thread_win32.c
parent3872ea814c0cacbf12bd14cb478f682328862e4a (diff)
thread.c (consume_communication_pipe): disarm UBF_TIMER before consume
Same reasoning as the disarm in rb_sigwait_fd_get, the current thread is already processing signals, so we do not need UBF_TIMER to continually kick the process, anymore. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_win32.c')
-rw-r--r--thread_win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_win32.c b/thread_win32.c
index 6db1f25..6e9f18f 100644
--- a/thread_win32.c
+++ b/thread_win32.c
@@ -22,6 +22,7 @@
#define unregister_ubf_list(th)
#define ubf_wakeup_all_threads() do {} while (0)
#define ubf_threads_empty() (1)
+#define ubf_timer_disarm() do {} while (0)
static volatile DWORD ruby_native_thread_key = TLS_OUT_OF_INDEXES;