summaryrefslogtreecommitdiff
path: root/ext/-test-/popen_deadlock/extconf.rb
diff options
context:
space:
mode:
authorngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-25 12:42:07 +0000
committerngoto <ngoto@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-25 12:42:07 +0000
commit33a17d48397518c2110be41ad8793705a701a7fe (patch)
tree89b3058f989dc8e79b490b03d614efcac13a92fa /ext/-test-/popen_deadlock/extconf.rb
parentd47a2b571296b9e726531f61690010eb1fa3d402 (diff)
* test/-ext-/popen_deadlock/test_popen_deadlock.rb: test [Bug #11265]
* ext/-test-/popen_deadlock/infinite_loop_dlsym.c: new ext to call dlsym(3) infinitely without GVL, used in the above test. * ext/-test-/popen_deadlock/extconf.rb: extconf.rb for the above ext. Currently, only enabled on Solaris (main target) and Linux (as a reference platform and for debugging the ext). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/popen_deadlock/extconf.rb')
-rw-r--r--ext/-test-/popen_deadlock/extconf.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/-test-/popen_deadlock/extconf.rb b/ext/-test-/popen_deadlock/extconf.rb
new file mode 100644
index 0000000000..f993ff7f9a
--- /dev/null
+++ b/ext/-test-/popen_deadlock/extconf.rb
@@ -0,0 +1,4 @@
+case RUBY_PLATFORM
+when /solaris/i, /linux/i
+ create_makefile("-test-/popen_deadlock/infinite_loop_dlsym")
+end