ppl.h
Go to the documentation of this file.
/*
Copyright (c) 2005-2020 Intel Corporation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
#include "../internal/_deprecated_header_message_guard.h"
#if !defined(__TBB_show_deprecation_message_ppl_H) && defined(__TBB_show_deprecated_header_message)
#define __TBB_show_deprecation_message_ppl_H
#pragma message("TBB Warning: tbb/compat/ppl.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
#endif
#if defined(__TBB_show_deprecated_header_message)
#undef __TBB_show_deprecated_header_message
#endif
#ifndef __TBB_compat_ppl_H
#define __TBB_compat_ppl_H
#define __TBB_ppl_H_include_area
#include "../internal/_warning_suppress_enable_notice.h"
#include "../task_group.h"
#include "../parallel_invoke.h"
#include "../parallel_for_each.h"
#include "../parallel_for.h"
#include "../tbb_exception.h"
#include "../critical_section.h"
#include "../reader_writer_lock.h"
#include "../combinable.h"
namespace Concurrency {
#if __TBB_TASK_GROUP_CONTEXT
using tbb::task_handle;
using tbb::task_group_status;
using tbb::task_group;
using tbb::structured_task_group;
using tbb::invalid_multiple_scheduling;
using tbb::missing_wait;
using tbb::make_task;
using tbb::not_complete;
using tbb::complete;
using tbb::canceled;
using tbb::is_current_task_group_canceling;
#endif /* __TBB_TASK_GROUP_CONTEXT */
using tbb::parallel_invoke;
using tbb::strict_ppl::parallel_for;
using tbb::parallel_for_each;
using tbb::critical_section;
using tbb::reader_writer_lock;
using tbb::combinable;
using tbb::improper_lock;
} // namespace Concurrency
#include "../internal/_warning_suppress_disable_notice.h"
#undef __TBB_ppl_H_include_area
#endif /* __TBB_compat_ppl_H */
tbb::parallel_invoke
void parallel_invoke(const F0 &f0, const F1 &f1, tbb::task_group_context &context)
Executes a list of tasks in parallel and waits for all tasks to complete.
Definition: parallel_invoke.h:257
tbb::parallel_for_each
void parallel_for_each(Iterator first, Iterator last, const Function &f, task_group_context &context)
Calls function f for all items from [first, last) interval using user-supplied context.
Definition: parallel_for_each.h:92
tbb::task_group_status
task_group_status
Definition: task_group.h:73
tbb::complete
@ complete
Definition: task_group.h:75
tbb::canceled
@ canceled
Definition: task_group.h:76
tbb::not_complete
@ not_complete
Definition: task_group.h:74
tbb::is_current_task_group_canceling
bool is_current_task_group_canceling()
Definition: task_group.h:343
tbb::make_task
task_handle< typename internal::strip< F >::type > make_task(F &&f)
Definition: task_group.h:349
Concurrency
Definition: ppl.h:43
tbb::strict_ppl::parallel_for
void parallel_for(Index first, Index last, Index step, const Function &f)
Parallel iteration over a range of integers with a step provided and default partitioner.
Definition: tbb/parallel_for.h:289
tbb::combinable
Thread-local storage with optional reduction.
Definition: combinable.h:33
tbb::task_handle
Definition: task_group.h:45
tbb::task_group
Definition: task_group.h:192
tbb::structured_task_group
Definition: task_group.h:230
tbb::improper_lock
Exception for PPL locks.
Definition: tbb_exception.h:40
tbb::missing_wait
Exception for missing wait on structured_task_group.
Definition: tbb_exception.h:52
tbb::invalid_multiple_scheduling
Exception for repeated scheduling of the same task_handle.
Definition: tbb_exception.h:58

Copyright © 2005-2020 Intel Corporation. All Rights Reserved.

Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are registered trademarks or trademarks of Intel Corporation or its subsidiaries in the United States and other countries.

* Other names and brands may be claimed as the property of others.