* thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.
It's meaningless because lock_interrupt doesn't call add_signal_thread_list(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3041401404
commit
63d3eec7c4
@ -1,3 +1,9 @@
|
|||||||
|
Tue May 17 21:24:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.
|
||||||
|
It's meaningless because lock_interrupt doesn't call
|
||||||
|
add_signal_thread_list().
|
||||||
|
|
||||||
Tue May 17 20:20:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Tue May 17 20:20:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* vm_core.h (rb_thread_struct): add volatile to
|
* vm_core.h (rb_thread_struct): add volatile to
|
||||||
|
1
thread.c
1
thread.c
@ -3535,7 +3535,6 @@ rb_mutex_lock(VALUE self)
|
|||||||
interrupted = lock_func(th, mutex, timeout_ms);
|
interrupted = lock_func(th, mutex, timeout_ms);
|
||||||
});
|
});
|
||||||
th->transition_for_lock = 0;
|
th->transition_for_lock = 0;
|
||||||
remove_signal_thread_list(th);
|
|
||||||
reset_unblock_function(th, &oldubf);
|
reset_unblock_function(th, &oldubf);
|
||||||
|
|
||||||
th->locking_mutex = Qfalse;
|
th->locking_mutex = Qfalse;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user