mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (rb_mutex_unlock_all): mutex is no longer a ruby object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf08661141
commit
ea79b2360a
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Thu Jul 31 01:25:43 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* thread.c (rb_mutex_unlock_all): mutex is no longer a ruby object.
|
||||||
|
|
||||||
Thu Jul 31 01:18:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
Thu Jul 31 01:18:07 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||||
|
|
||||||
* parse.y (magic_comment_encoding): remove meaningless null check.
|
* parse.y (magic_comment_encoding): remove meaningless null check.
|
||||||
|
|
4
thread.c
4
thread.c
|
@ -2802,8 +2802,8 @@ rb_mutex_unlock_all(mutex_t *mutexes)
|
||||||
|
|
||||||
while (mutexes) {
|
while (mutexes) {
|
||||||
mutex = mutexes;
|
mutex = mutexes;
|
||||||
/* rb_warn("mutex #<%s:%p> remains to be locked by terminated thread",
|
/* rb_warn("mutex #<%p> remains to be locked by terminated thread",
|
||||||
rb_obj_classname(mutexes), (void*)mutexes); */
|
mutexes); */
|
||||||
mutexes = mutex->next_mutex;
|
mutexes = mutex->next_mutex;
|
||||||
err = mutex_unlock(mutex);
|
err = mutex_unlock(mutex);
|
||||||
if (err) rb_bug("invalid keeping_mutexes: %s", err);
|
if (err) rb_bug("invalid keeping_mutexes: %s", err);
|
||||||
|
|
Loading…
Add table
Reference in a new issue