mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm_core.h (rb_vm_t): make sleeper non-volatile
vm->sleeper is never modified in signal handlers or without GVL, so there's no need for volatile hocus-pocus. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97fcb45078
commit
3afb77330f
1 changed files with 1 additions and 1 deletions
|
@ -565,7 +565,7 @@ typedef struct rb_vm_struct {
|
||||||
unsigned int safe_level_: 1;
|
unsigned int safe_level_: 1;
|
||||||
|
|
||||||
int trace_running;
|
int trace_running;
|
||||||
volatile int sleeper;
|
int sleeper;
|
||||||
|
|
||||||
/* object management */
|
/* object management */
|
||||||
VALUE mark_object_ary;
|
VALUE mark_object_ary;
|
||||||
|
|
Loading…
Add table
Reference in a new issue