HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IlmThreadConfig.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: BSD-3-Clause
2 // Copyright (c) Contributors to the OpenEXR Project.
3 
4 // This file is auto-generated by the cmake configure step
5 
6 #ifndef INCLUDED_ILMTHREAD_CONFIG_H
7 #define INCLUDED_ILMTHREAD_CONFIG_H 1
8 
9 #pragma once
10 
11 //
12 //
13 // C++ namespace configuration / options
14 
15 // automated formatting does not handle the cmake tags well
16 // clang-format off
17 
18 #define ILMTHREAD_THREADING_ENABLED 1
19 #define ILMTHREAD_HAVE_POSIX_SEMAPHORES 1
20 #define ILMTHREAD_USE_TBB 0
21 
22 //
23 // Current internal library namespace name
24 //
25 #define ILMTHREAD_INTERNAL_NAMESPACE_CUSTOM 0
26 #define ILMTHREAD_INTERNAL_NAMESPACE IlmThread_3_4
27 
28 //
29 // Current public user namespace name
30 //
31 
32 #define ILMTHREAD_NAMESPACE_CUSTOM 0
33 #define ILMTHREAD_NAMESPACE IlmThread
34 
35 // clang-format on
36 
37 #if defined(__cplusplus) && (__cplusplus >= 201402L)
38 # define ILMTHREAD_DEPRECATED(msg) [[deprecated (msg)]]
39 #endif
40 
41 #ifndef ILMTHREAD_DEPRECATED
42 # ifdef _MSC_VER
43 # define ILMTHREAD_DEPRECATED(msg) __declspec(deprecated (msg))
44 # else
45 # define ILMTHREAD_DEPRECATED(msg) __attribute__ ((deprecated (msg)))
46 # endif
47 #endif
48 
49 #endif // INCLUDED_ILMTHREAD_CONFIG_H