a134244af33021c953acdd7b54a4390c75339f74
[platform/upstream/tbb.git] / include / tbb / compat / ppl.h
1 /*
2     Copyright (c) 2005-2019 Intel Corporation
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8         http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15 */
16
17 #ifndef __TBB_compat_ppl_H
18 #define __TBB_compat_ppl_H
19
20 #include "../task_group.h"
21 #include "../parallel_invoke.h"
22 #include "../parallel_for_each.h"
23 #include "../parallel_for.h"
24 #include "../tbb_exception.h"
25 #include "../critical_section.h"
26 #include "../reader_writer_lock.h"
27 #include "../combinable.h"
28
29 namespace Concurrency {
30
31 #if __TBB_TASK_GROUP_CONTEXT
32     using tbb::task_handle;
33     using tbb::task_group_status;
34     using tbb::task_group;
35     using tbb::structured_task_group;
36     using tbb::invalid_multiple_scheduling;
37     using tbb::missing_wait;
38     using tbb::make_task;
39
40     using tbb::not_complete;
41     using tbb::complete;
42     using tbb::canceled;
43
44     using tbb::is_current_task_group_canceling;
45 #endif /* __TBB_TASK_GROUP_CONTEXT */
46
47     using tbb::parallel_invoke;
48     using tbb::strict_ppl::parallel_for;
49     using tbb::parallel_for_each;
50     using tbb::critical_section;
51     using tbb::reader_writer_lock;
52     using tbb::combinable;
53
54     using tbb::improper_lock;
55
56 } // namespace Concurrency
57
58 #endif /* __TBB_compat_ppl_H */