зеркало из https://github.com/github/ruby.git
* vm_core.h (rb_thread_struct): add volatile to
transition_for_lock because it is not protected by lock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
083ec6049e
Коммит
3041401404
|
@ -1,3 +1,8 @@
|
||||||
|
Tue May 17 20:20:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* vm_core.h (rb_thread_struct): add volatile to
|
||||||
|
transition_for_lock because it is not protected by lock.
|
||||||
|
|
||||||
Tue May 17 20:08:53 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
Tue May 17 20:08:53 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||||
|
|
||||||
* LEGAL (missing/{elf,tgamma,lgamma_r}.c): they've been replaced by
|
* LEGAL (missing/{elf,tgamma,lgamma_r}.c): they've been replaced by
|
||||||
|
|
|
@ -435,7 +435,7 @@ typedef struct rb_thread_struct {
|
||||||
struct rb_unblock_callback unblock;
|
struct rb_unblock_callback unblock;
|
||||||
VALUE locking_mutex;
|
VALUE locking_mutex;
|
||||||
struct rb_mutex_struct *keeping_mutexes;
|
struct rb_mutex_struct *keeping_mutexes;
|
||||||
int transition_for_lock;
|
volatile int transition_for_lock;
|
||||||
|
|
||||||
struct rb_vm_tag *tag;
|
struct rb_vm_tag *tag;
|
||||||
struct rb_vm_protect_tag *protect_tag;
|
struct rb_vm_protect_tag *protect_tag;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче