summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf/html.py
diff options
context:
space:
mode:
authorCaner Altinbasak <cal@brightsign.biz>2021-10-25 22:15:51 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-25 20:54:25 +0100
commita89560d336d62b2ab474565980bbf769e7a0bea3 (patch)
tree7010ee18f6b2d250d623b85b2d01462a623e58f5 /scripts/lib/build_perf/html.py
parent94c640301c0959733d97e701d0a569a2180f6351 (diff)
downloadpoky-a89560d336d62b2ab474565980bbf769e7a0bea3.tar.gz
bitbake: npmsw: Avoid race condition with multiple npm fetchers
If multiple npmsw fetchers are trying to download the same npm file, one of them can try to download the file while other is calling verify. npmsw methods gets called without holding the lock, which causes race conditions in fetching and verification etc. Lock the lockfile before calling proxy fetcher methods. (Bitbake rev: 591a05d6126f29b501b9fa284c0618de8c903c69) Signed-off-by: Caner Altinbasak <cal@brightsign.biz> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fa39e6689d0f0fff772e1c81682698f4b1587b8a) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/html.py')
0 files changed, 0 insertions, 0 deletions