From 6207ec185d6ebd0d182a50b6ce27c0bdd16e2320 Mon Sep 17 00:00:00 2001 From: yugui Date: Tue, 4 Nov 2008 13:37:10 +0000 Subject: merges r20102 from trunk into ruby_1_9_1. * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype. * thread.c (rb_mutex_synchronize): fixed function name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index 2407bf8d0..7e4e280f0 100644 --- a/thread.c +++ b/thread.c @@ -3023,7 +3023,7 @@ mutex_sleep(int argc, VALUE *argv, VALUE self) */ VALUE -rb_thread_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg) +rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg) { rb_mutex_lock(mutex); return rb_ensure(func, arg, rb_mutex_unlock, mutex); -- cgit