summaryrefslogtreecommitdiffstats
path: root/mpi-patches/use-txr-allocator
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-01-28 21:49:56 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-01-28 21:49:56 -0800
commit1f4a36cb97cb259ce8209de52229f33b341af9cd (patch)
treec2494be90cd499e28d0b354b9f275e609f2570b5 /mpi-patches/use-txr-allocator
parent7266ebf56acbd34978d8bb99a2a87a15d0afdea9 (diff)
downloadtxr-1f4a36cb97cb259ce8209de52229f33b341af9cd.tar.gz
txr-1f4a36cb97cb259ce8209de52229f33b341af9cd.tar.bz2
txr-1f4a36cb97cb259ce8209de52229f33b341af9cd.zip
* stream.c (struct stdio_handle): New member, is_rotated.
Moved mode member down. (make_stdio_stream_common): Initialize is_rotated. (tail_strategy): Substantially rewritten in order to address a possible race condition, when a file is rotated. The issue is that even when the file disappears, or when the file has been replaced, we must continue reading from the old stream until the end, and only then can we switch to the newly rotated file.
Diffstat (limited to 'mpi-patches/use-txr-allocator')
0 files changed, 0 insertions, 0 deletions