HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IlmThreadForward.h
Go to the documentation of this file.
1 //
2 // SPDX-License-Identifier: BSD-3-Clause
3 // Copyright (c) Contributors to the OpenEXR Project.
4 //
5 
6 #ifndef INCLUDED_ILMTHREADFORWARD_H
7 #define INCLUDED_ILMTHREADFORWARD_H
8 
9 #include "IlmThreadConfig.h"
10 #include "IlmThreadNamespace.h"
11 
12 #if ILMTHREAD_THREADING_ENABLED
13 namespace std { class mutex; }
14 #endif
15 
17 
18 class Thread;
19 #if ILMTHREAD_THREADING_ENABLED
20 using Mutex = std::mutex;
21 #else
22 class Mutex;
23 #endif
24 class Lock;
25 class ThreadPool;
26 class Task;
27 class TaskGroup;
28 class Semaphore;
29 
31 
32 #endif // INCLUDED_ILMTHREADFORWARD_H
std::mutex Mutex
#define ILMTHREAD_INTERNAL_NAMESPACE_HEADER_ENTER
#define ILMTHREAD_INTERNAL_NAMESPACE_HEADER_EXIT