1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

2 commits

Author SHA1 Message Date
knu
2fa4652028 * test/-ext-/test_threadswitch_hook.rb
(Test_ThreadSwitch#test_threadswitch_init): This test does not
  pass because the hook method actually calls rb_add_event_hook()
  which does not emit a warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16 08:55:11 +00:00
nobu
f5cbe886b6 * eval.c (rb_add_threadswitch_hook): wrapper for unofficial APIs
in Mac OS X port.  the use of them is strongly discouraged.

	* eval.c (rb_remove_threadswitch_hook): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 18:00:46 +00:00