summaryrefslogtreecommitdiff
path: root/ext/-test-/thread_fd_close/extconf.rb
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-07 00:32:02 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-07 00:32:02 +0000
commit27b8ef7ff78f3a7e189c90c641bed4e61c11b76c (patch)
tree704ce9c789c5c536f54fed5d071ea841fa9b4ada /ext/-test-/thread_fd_close/extconf.rb
parent349495471e088b2fe59a9fdd1fd14c6e78eaae62 (diff)
thread.c: avoid busy looping on rb_thread_fd_close
We no longer use it this function, but extensions do, and we need to ensure it continues to work for them. * thread.c (rb_thread_fd_close): schedule other threads in loop * ext/-test-/thread_fd_close/thread_fd_close.c: new file * ext/-test-/thread_fd_close/depend: ditto * ext/-test-/thread_fd_close/extconf.rb: ditto * test/-ext-/thread_fd_close/test_thread_fd_close.rb: new test git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/thread_fd_close/extconf.rb')
-rw-r--r--ext/-test-/thread_fd_close/extconf.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/-test-/thread_fd_close/extconf.rb b/ext/-test-/thread_fd_close/extconf.rb
new file mode 100644
index 0000000000..0d9694539c
--- /dev/null
+++ b/ext/-test-/thread_fd_close/extconf.rb
@@ -0,0 +1,2 @@
+# frozen_string_literal: true
+create_makefile('-test-/thread_fd_close')