diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-28 13:25:31 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-08-29 09:09:26 +0200 |
commit | 9a23629ff179c16309c7cfdb898926be03e8b105 (patch) | |
tree | 5af2e48bcdb1fe8685cbb374d313d05730ade488 /src/buildtool/file_system/file_system_manager.hpp | |
parent | ded2fe967269c892d8691e0e405a4adc4c4358f4 (diff) | |
download | justbuild-9a23629ff179c16309c7cfdb898926be03e8b105.tar.gz |
just-mr maps: Properly check for missing values in map chain
The root async map in a chain of calls should always be checked
for missing value, which can happen if, e.g., a cycle happens or
a thread gets killed by the system.
Properly handle this by checking explicitly if a value has been
posted. If not, check for cycles where it makes sense (for
example, in the resolving of symlinks), otherwise report any
pending map keys not yet processed.
This is done for all just-mr commands working with async maps.
Diffstat (limited to 'src/buildtool/file_system/file_system_manager.hpp')
0 files changed, 0 insertions, 0 deletions