diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-09 17:40:33 +0100 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-09-16 11:45:48 +0000 |
commit | e874ef9b845424dceeac4211ca9dfec24949f03c (patch) | |
tree | 053e1ecedfc3250f70578b7833e5a268f87b0f49 /arm_compute/core/utils/logging/LogMsgDecorators.h | |
parent | 7470d059a676d217c57c20cf3cd5da5cfbd37c75 (diff) | |
download | ComputeLibrary-e874ef9b845424dceeac4211ca9dfec24949f03c.tar.gz |
COMPMID-2646: Wrap thread-related structure to ease bare-metal support
Wraps "lock_guard" and "unique_lock" to ease bare-metal support.
Adds basic armclang compilation flow.
Change-Id: I44ccd042652acd6a9b442c57c879db3891abb0e2
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1923
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Pablo Marquez <pablo.tello@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/utils/logging/LogMsgDecorators.h')
-rw-r--r-- | arm_compute/core/utils/logging/LogMsgDecorators.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arm_compute/core/utils/logging/LogMsgDecorators.h b/arm_compute/core/utils/logging/LogMsgDecorators.h index 32cb977bf2..03a2d41f12 100644 --- a/arm_compute/core/utils/logging/LogMsgDecorators.h +++ b/arm_compute/core/utils/logging/LogMsgDecorators.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -30,7 +30,9 @@ #include <chrono> #include <ctime> #include <string> +#ifndef NO_MULTI_THREADING #include <thread> +#endif /* NO_MULTI_THREADING */ namespace arm_compute { |