Displaying 11 results from an estimated 11 matches for "movefileexw".
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...ace by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when 'rename' became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
(except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
However, 'rename' might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
An example where 'rename' can fail on both Wi...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...writing a buffer to a temp file and then
> renaming that temp file to become the final file in the cache. After
> r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees
> atomicity of writing a file to the cache,
> (except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
>
> However, ‘rename’ might fail and return an error code in several different
> situations. If this happens, we will fall back to a direct write to the
> file, which is neither atomic, nor avoids race conditions (causing problem
> #3).
> An example where 'rename'...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
...a race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
> (except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
>
> However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
> An example where 'rename' can fail on...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...ce by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
>> (except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
>>
>> However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
>> An example where 'rename'...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
(except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
An example where 'rename' can fail on both Windows an...
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
(except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
An example where 'rename' can fail on both Windows an...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...ing a buffer to a temp file and then
> renaming that temp file to become the final file in the cache. After
> r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees
> atomicity of writing a file to the cache,
>
> (except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
>
>
>
> However, ‘rename’ might fail and return an error code in several different
> situations. If this happens, we will fall back to a direct write to the
> file, which is neither atomic, nor avoids race conditions (causing problem
> #3).
>
> An example where...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
(except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
An example where 'rename' can fail on both Windows an...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...a race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
> (except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
>
> However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
> An example where 'rename' can fail on...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...ing a buffer to a temp file and then
> renaming that temp file to become the final file in the cache. After
> r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees
> atomicity of writing a file to the cache,
>
> (except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
>
>
>
> However, ‘rename’ might fail and return an error code in several different
> situations. If this happens, we will fall back to a direct write to the
> file, which is neither atomic, nor avoids race conditions (causing problem
> #3).
>
> An example where...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...a data race by first writing a buffer to a temp file and then renaming that temp file to become the final file in the cache. After r315079, when ‘rename’ became more POSIX-compliant, this scheme guarantees atomicity of writing a file to the cache,
(except on Wine, where (in some cases) non-atomic ::MoveFileExW is used).
However, ‘rename’ might fail and return an error code in several different situations. If this happens, we will fall back to a direct write to the file, which is neither atomic, nor avoids race conditions (causing problem #3).
An example where 'rename' can fail on both Windows an...