summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-22 02:43:51 (GMT)
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-06-22 02:43:51 (GMT)
commit3afb77330fc06d112a5243e5486f043c1339a90b (patch)
tree40f6e70b003092a3658d428941cb0ef6cce75308 /vm_core.h
parent97fcb45078f7cff5155454dd29f4b7cd789eb5a5 (diff)
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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_core.h b/vm_core.h
index 0a185a6..ee15119 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -565,7 +565,7 @@ typedef struct rb_vm_struct {
unsigned int safe_level_: 1;
int trace_running;
- volatile int sleeper;
+ int sleeper;
/* object management */
VALUE mark_object_ary;