diff options
author | Joseph Huber <huberjn@outlook.com> | 2023-11-27 08:41:15 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 08:41:15 -0600 |
commit | bf02c84cb8e7f60dfc12f822cd2bb71890b03101 (patch) | |
tree | 8a6d819cb54cea16b5ab29bb73ef77dfc935e119 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 839abdb0d293a87a8bf9a298c9d5c29845fd59b2 (diff) | |
download | llvm-bf02c84cb8e7f60dfc12f822cd2bb71890b03101.zip llvm-bf02c84cb8e7f60dfc12f822cd2bb71890b03101.tar.gz llvm-bf02c84cb8e7f60dfc12f822cd2bb71890b03101.tar.bz2 |
[libc] Use file lock to join newline on RPC puts call (#73373)
Summary:
The puts call appends a newline. With multiple threads, this can be done
out of order such that another thread puts something before we finish
appending the newline. Add a flockfile and funlockfile to ensure that
the whole string is printed before another string can appear.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions