ruby-changes:8567
From: nobu <ko1@a...>
Date: Tue, 4 Nov 2008 01:57:11 +0900 (JST)
Subject: [ruby-changes:8567] Ruby:r20102 (trunk): * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.
nobu 2008-11-04 01:56:49 +0900 (Tue, 04 Nov 2008) New Revision: 20102 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20102 Log: * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype. * thread.c (rb_mutex_synchronize): fixed function name. Modified files: trunk/ChangeLog trunk/include/ruby/intern.h trunk/thread.c trunk/version.h Index: include/ruby/intern.h =================================================================== --- include/ruby/intern.h (revision 20101) +++ include/ruby/intern.h (revision 20102) @@ -676,7 +676,7 @@ VALUE rb_mutex_lock(VALUE mutex); VALUE rb_mutex_unlock(VALUE mutex); VALUE rb_mutex_sleep(VALUE self, VALUE timeout); -VALUE rb_mutex_synchronize(VALUE self); +VALUE rb_mutex_synchronize(VALUE mutex, VALUE (*func)(VALUE arg), VALUE arg); VALUE rb_barrier_new(void); VALUE rb_barrier_wait(VALUE self); VALUE rb_barrier_release(VALUE self); Index: ChangeLog =================================================================== --- ChangeLog (revision 20101) +++ ChangeLog (revision 20102) @@ -1,3 +1,9 @@ +Tue Nov 4 01:56:46 2008 Nobuyoshi Nakada <nobu@r...> + + * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype. + + * thread.c (rb_mutex_synchronize): fixed function name. + Mon Nov 3 16:32:54 2008 Nobuyoshi Nakada <nobu@r...> * missing.h: needs RUBY_EXTERN instead of extern for mswin. Index: thread.c =================================================================== --- thread.c (revision 20101) +++ thread.c (revision 20102) @@ -3023,7 +3023,7 @@ */ 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); Index: version.h =================================================================== --- version.h (revision 20101) +++ version.h (revision 20102) @@ -1,7 +1,7 @@ #define RUBY_VERSION "1.9.0" -#define RUBY_RELEASE_DATE "2008-11-03" +#define RUBY_RELEASE_DATE "2008-11-04" #define RUBY_VERSION_CODE 190 -#define RUBY_RELEASE_CODE 20081103 +#define RUBY_RELEASE_CODE 20081104 #define RUBY_PATCHLEVEL 0 #define RUBY_VERSION_MAJOR 1 @@ -9,7 +9,7 @@ #define RUBY_VERSION_TEENY 0 #define RUBY_RELEASE_YEAR 2008 #define RUBY_RELEASE_MONTH 11 -#define RUBY_RELEASE_DAY 3 +#define RUBY_RELEASE_DAY 4 #ifdef RUBY_EXTERN RUBY_EXTERN const char ruby_version[]; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/