diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-03 16:56:49 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-03 16:56:49 +0000 |
| commit | c0876125f53f71348bf1b83b88cdf20d07a722c0 (patch) | |
| tree | 2337cb64663646827522f6608527493c26afdb78 /include/ruby | |
| parent | af65d1af17f64d13765fa3e38a4ac3e1b6f0181b (diff) | |
| download | ruby-c0876125f53f71348bf1b83b88cdf20d07a722c0.tar.gz ruby-c0876125f53f71348bf1b83b88cdf20d07a722c0.tar.xz ruby-c0876125f53f71348bf1b83b88cdf20d07a722c0.zip | |
* 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/trunk@20102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby')
| -rw-r--r-- | include/ruby/intern.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index ada1ec094..739ff1e83 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -676,7 +676,7 @@ VALUE rb_mutex_try_lock(VALUE mutex); 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); |
