diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-21 10:14:26 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-10-21 10:14:26 +0000 |
commit | f21d7d98318919c730a5dbcca9f2c931ebd66898 (patch) | |
tree | 0fccea5533fff66247a7d84fa49096e2e8b058a4 /vm_core.h | |
parent | 93184600c8dfe84f03d2c41035c5bc0fdbe4e84f (diff) | |
download | ruby-f21d7d98318919c730a5dbcca9f2c931ebd66898.tar.gz |
* vm_core.h (rb_vm_t::trace_running): add a new field
`trace_running' to store vm global tracing status.
* vm_trace.c: fix SEGV bug. event_hook was free'd
even when the hook is still used in another thread.
[ruby-dev:46141] [Bug #7032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -343,6 +343,7 @@ typedef struct rb_vm_struct { int running; int inhibit_thread_creation; int thread_abort_on_exception; + int trace_running; volatile int sleeper; /* object management */ |