xbps_archive_fetch_xxx: avoid races with multiple threads in the libfetch code.

Protect our critical sections with a mutex for now, until libfetch
is really fixed to work correctly with multiple threads.
This commit is contained in:
Juan RP
2014-12-22 18:18:20 +01:00
parent 8593f21848
commit 6a985190aa
2 changed files with 19 additions and 2 deletions

4
NEWS
View File

@@ -1,5 +1,9 @@
xbps-0.43 (???):
* libxbps: xbps_archive_fetch_xxx() are now protected with a mutex to avoid
data races with 8 threads or more. Reproducable by @chneukirchen on a
8 core machine.
xbps-0.42 (2014-12-22):
* xbps-reconfigure(8): new option -i, --ignore to ignore packages