diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-10 04:56:32 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-10-10 04:56:32 +0000 |
commit | fa7bf880b4f351cd99978f7d096510aad137ca18 (patch) | |
tree | ca24c4eb3cc137ec42a67e9fd3567c20b77643b3 /win32/win32.c | |
parent | 3d3a0d88c9fe73b911f0a0ba2a96b771740b48db (diff) | |
download | ruby-fa7bf880b4f351cd99978f7d096510aad137ca18.tar.gz |
* vm_trace.c (postponed_job): use preallocated buffer.
Pre-allocate MAX_POSTPONED_JOB (1024) sized buffer
and use it.
If rb_postponed_job_register() cause overflow, simply it
fails and returns 0.
And maybe rb_postponed_job_register() is signal safe.
* vm_core.h: change data structure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/win32.c')
0 files changed, 0 insertions, 0 deletions