buildsystem: fix and relocate comment

This commit is contained in:
MilhouseVH 2019-07-09 04:40:04 +01:00
parent fc97f456dc
commit eaf81e7277

View File

@ -1239,6 +1239,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).
#
@ -1362,7 +1364,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