1
0
Fork 0
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:
nobu 2008-07-30 16:25:46 +00:00
parent cf08661141
commit ea79b2360a
2 changed files with 6 additions and 2 deletions

View file

@ -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>
* parse.y (magic_comment_encoding): remove meaningless null check.

View file

@ -2802,8 +2802,8 @@ rb_mutex_unlock_all(mutex_t *mutexes)
while (mutexes) {
mutex = mutexes;
/* rb_warn("mutex #<%s:%p> remains to be locked by terminated thread",
rb_obj_classname(mutexes), (void*)mutexes); */
/* rb_warn("mutex #<%p> remains to be locked by terminated thread",
mutexes); */
mutexes = mutex->next_mutex;
err = mutex_unlock(mutex);
if (err) rb_bug("invalid keeping_mutexes: %s", err);