diff options
author | Benjamin Schubert <bschubert15@bloomberg.net> | 2020-07-09 19:02:20 +0100 |
---|---|---|
committer | Benjamin Schubert <bschubert15@bloomberg.net> | 2020-12-01 10:58:08 +0000 |
commit | be88eaec0445ff2d85b73c17a392d0e65620202b (patch) | |
tree | 1f7558750989ae902091f4bed085a8bbb7753698 /setup.py | |
parent | 0360bc1feca1d5429cdb7fbc083727d242499733 (diff) | |
download | buildstream-be88eaec0445ff2d85b73c17a392d0e65620202b.tar.gz |
plugin.py: Add a helper to run blocking processes in subprocesses
This ensures that we can cleanly cleanup processes and threads on
termination of BuildStream.
Plugins should use this helper whenever there is a risk of them being
blocked on a syscall for an indefinite amount of time
* downloadablefilesource.py: Use this new helper to do the actual
download, which would prevent the process from completely blocking if
we have a badly behaving upstream
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions