From: Eric Wong Date: 2013-10-20T04:26:53+00:00 Subject: [ruby-core:57944] Re: [ruby-trunk - Bug #9036][Open] [PATCH] io.c: make IO#reopen("pathname") atomic for non-stdio "normalperson (Eric Wong)" wrote: > Without this patch, I need to maintain separate code paths for > atomically reopening (e.g. log rotation) std{in,out,err} vs > other files in a multithreaded application. Separate code paths like this: http://bogomips.org/yahns.git/patch/?id=bcb10abe5 (review greatly appreciated!, thanks!)