buildsystem: fix and relocate comment

This commit is contained in:
MilhouseVH 2019-07-09 04:40:04 +01:00
parent cc11eef4b7
commit 2bae815050

View File

@ -1251,6 +1251,8 @@ enable_service() {
### MULTI-THREADED FUNCTION HELPERS ###
# Test MTWITHLOCKS so that these functions are a no-op during non-multithreaded builds.
# Prevent concurrent modifications to a package (unpack) or
# package:target (install/build).
#
@ -1374,7 +1376,6 @@ update_dashboard() {
# Thread concurrency helpers to avoid concurrency issues with some code,
# eg. when Python installs directly into $TOOLCHAIN.
# Test MTJOBID so that these functions are a no-op during non-multithreaded builds.
acquire_exclusive_lock() {
[ "${MTWITHLOCKS}" != "yes" ] && return 0