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

Oops, apply some more hunks to complete the previous change.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2007-02-26 18:53:44 +00:00
parent 25f8c4c391
commit 5386d05fb2

View file

@ -21,7 +21,7 @@ static VALUE rb_cSizedQueue;
static VALUE set_critical(VALUE value);
static VALUE
thread_exclusive_do()
thread_exclusive_do(void)
{
rb_thread_critical = 1;
@ -38,9 +38,9 @@ thread_exclusive_do()
*/
static VALUE
rb_thread_exclusive()
rb_thread_exclusive(void)
{
return rb_ensure(thread_exclusive_do, Qundef, thread_exclusive_ensure, rb_thread_critical);
return rb_ensure(thread_exclusive_do, Qundef, set_critical, rb_thread_critical);
}
typedef struct _Entry {