about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2016-08-16 01:11:33 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2016-10-09 10:48:07 +0200
commitb3f2644b66647d47338051d783cae8e661312472 (patch)
tree681ee7fee5cea595cfadbcaf44e7219b61c31338 /src/test/run-pass/thinlto
parentb98cc352cbb428f3c9a0e608bc57a83109a26a57 (diff)
downloadrust-b3f2644b66647d47338051d783cae8e661312472.tar.gz
rust-b3f2644b66647d47338051d783cae8e661312472.zip
Implement reading and writing atomically at certain offsets
These functions allow to read from and write to a file in one atomic
action from multiple threads, avoiding the race between the seek and the
read.

The functions are named `{read,write}_at` on non-Windows (which don't
change the file cursor), and `seek_{read,write}` on Windows (which
change the file cursor).
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions