1 /* 2 Copyright (c) 2005-2020 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 #include "../internal/_deprecated_header_message_guard.h" 18 19 #if !defined(__TBB_show_deprecation_message_ppl_H) && defined(__TBB_show_deprecated_header_message) 20 #define __TBB_show_deprecation_message_ppl_H 21 #pragma message("TBB Warning: tbb/compat/ppl.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.") 22 #endif 23 24 #if defined(__TBB_show_deprecated_header_message) 25 #undef __TBB_show_deprecated_header_message 26 #endif 27 28 #ifndef __TBB_compat_ppl_H 29 #define __TBB_compat_ppl_H 30 31 #define __TBB_ppl_H_include_area 32 #include "../internal/_warning_suppress_enable_notice.h" 33 34 #include "../task_group.h" 35 #include "../parallel_invoke.h" 36 #include "../parallel_for_each.h" 37 #include "../parallel_for.h" 38 #include "../tbb_exception.h" 39 #include "../critical_section.h" 40 #include "../reader_writer_lock.h" 41 #include "../combinable.h" 42 43 namespace Concurrency { 44 45 #if __TBB_TASK_GROUP_CONTEXT 46 using tbb::task_handle; 47 using tbb::task_group_status; 48 using tbb::task_group; 49 using tbb::structured_task_group; 50 using tbb::invalid_multiple_scheduling; 51 using tbb::missing_wait; 52 using tbb::make_task; 53 54 using tbb::not_complete; 55 using tbb::complete; 56 using tbb::canceled; 57 58 using tbb::is_current_task_group_canceling; 59 #endif /* __TBB_TASK_GROUP_CONTEXT */ 60 61 using tbb::parallel_invoke; 62 using tbb::strict_ppl::parallel_for; 63 using tbb::parallel_for_each; 64 using tbb::critical_section; 65 using tbb::reader_writer_lock; 66 using tbb::combinable; 67 68 using tbb::improper_lock; 69 70 } // namespace Concurrency 71 72 #include "../internal/_warning_suppress_disable_notice.h" 73 #undef __TBB_ppl_H_include_area 74 75 #endif /* __TBB_compat_ppl_H */ 76