diff options
author | Eric Wong <e@80x24.org> | 2013-10-20 04:17:01 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2013-10-20 04:17:01 +0000 |
commit | bcb10abe53cfb1d6a8ef7daef59eb10ced397c8a (patch) | |
tree | b5a5cd933b105f2a470ff5db9c920ac479eb060e /test/test_bin.rb | |
parent | 76f7451408315fe5256d204ceee0e259d1282b85 (diff) | |
download | yahns-bcb10abe53cfb1d6a8ef7daef59eb10ced397c8a.tar.gz |
In multithreaded apps, we must use dup2/dup3 with a temporary descriptor to reopen log files atomically. This is the only way to protect all concurrent userspace access to a file when reopening. ref: http://bugs.ruby-lang.org/issues/9036
Diffstat (limited to 'test/test_bin.rb')
0 files changed, 0 insertions, 0 deletions