From: bors Date: Sat, 15 Oct 2016 02:33:04 +0000 (-0700) Subject: Auto merge of #35704 - tbu-:pr_pread_pwrite, r=alexcrichton X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=e1b67776dbb65e4ad256d27d9d215c643a4df57b;p=rust.git Auto merge of #35704 - tbu-:pr_pread_pwrite, r=alexcrichton Implement `read_offset` and `write_offset` These functions allow to read from and write to a file from multiple threads without changing the per-file cursor, avoiding the race between the seek and the read. --- e1b67776dbb65e4ad256d27d9d215c643a4df57b