From 88a4f331219ae0cb25afb70f2c32c8c000aba750 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 3 Nov 2008 16:56:49 +0000 Subject: * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype. * thread.c (rb_mutex_synchronize): fixed function name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20102 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 2407bf8d07..7e4e280f06 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 v1.2.3