Displaying 11 results from an estimated 11 matches for "r315079".
2018 Mar 22
4
[pre-RFC] Data races in concurrent ThinLTO processes
...ully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids 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 happ...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...here)*
> *EC = sys::fs::rename(TempFilename, EntryPath); *
>
> Compared to a race-prone direct write of a buffer to a file, this code
> avoids 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 t...
2018 Mar 22
0
[pre-RFC] Data races in concurrent ThinLTO processes
...won't matter here)
> EC = sys::fs::rename(TempFilename, EntryPath);
>
> Compared to a race-prone direct write of a buffer to a file, this code avoids 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 happ...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...tter here)
>> EC = sys::fs::rename(TempFilename, EntryPath);
>>
>> Compared to a race-prone direct write of a buffer to a file, this code avoids 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....
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...ully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids 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 fal...
2018 Mar 27
4
[pre-RFC] Data races in concurrent ThinLTO processes
...ully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids 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 fal...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...t; *EC = sys::fs::rename(TempFilename, EntryPath); *
>
>
>
> Compared to a race-prone direct write of a buffer to a file, this code
> avoids 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
> s...
2018 Mar 27
2
[pre-RFC] Data races in concurrent ThinLTO processes
...ully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids 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 fal...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...won't matter here)
> EC = sys::fs::rename(TempFilename, EntryPath);
>
> Compared to a race-prone direct write of a buffer to a file, this code avoids 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 happ...
2018 Mar 27
0
[pre-RFC] Data races in concurrent ThinLTO processes
...t; *EC = sys::fs::rename(TempFilename, EntryPath); *
>
>
>
> Compared to a race-prone direct write of a buffer to a file, this code
> avoids 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
> s...
2018 Mar 27
1
[pre-RFC] Data races in concurrent ThinLTO processes
...ully race condition won't matter here)
EC = sys::fs::rename(TempFilename, EntryPath);
Compared to a race-prone direct write of a buffer to a file, this code avoids 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 fal...