aboutsummaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-28 21:17:29 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-28 21:17:29 +0000
commitc22126755cd89f2b8aa309df8908d839e588a3bd (patch)
tree6a8f60739dffae50ce16a690eda77eaa56cdd550 /sample
parent58018f1f2d41ec28203439496537106e6b08c377 (diff)
downloadruby-c22126755cd89f2b8aa309df8908d839e588a3bd.tar.gz
* error.c (rb_async_bug_errno): async-safe bug report function.
In timer thread, signal handler shoul use it. The patch is contributed by Eric Wong <normalperson@yhbt.net>. Refs: [ruby-core:37644] and [ruby-core:37647] * thread_pthread.c: use rb_async_bug_errno(). And replace all fprintf() to write(). * internal.h (rb_async_bug_errno): add decl. of above func. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample')
0 files changed, 0 insertions, 0 deletions