ruby-changes:44929
From: nobu <ko1@a...>
Date: Tue, 6 Dec 2016 22:57:27 +0900 (JST)
Subject: [ruby-changes:44929] nobu:r57002 (trunk): Make `trace_running` an integer flag again
nobu 2016-12-06 22:57:23 +0900 (Tue, 06 Dec 2016) New Revision: 57002 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57002 Log: Make `trace_running` an integer flag again * vm_core.h (rb_vm_struct): trace_running should be a counter but not a bit flag. [ruby-core:78514] [Bug #13011] Author: David Rodr?\195?\173guez <deivid.rodriguez@g...> Modified files: trunk/vm_core.h Index: vm_core.h =================================================================== --- vm_core.h (revision 57001) +++ vm_core.h (revision 57002) @@ -497,7 +497,7 @@ typedef struct rb_vm_struct { https://github.com/ruby/ruby/blob/trunk/vm_core.h#L497 unsigned int running: 1; unsigned int thread_abort_on_exception: 1; unsigned int thread_report_on_exception: 1; - unsigned int trace_running: 1; + int trace_running; volatile int sleeper; /* object management */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/