Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/oneapi/tbb/task.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /*
0002     Copyright (c) 2005-2021 Intel Corporation
0003 
0004     Licensed under the Apache License, Version 2.0 (the "License");
0005     you may not use this file except in compliance with the License.
0006     You may obtain a copy of the License at
0007 
0008         http://www.apache.org/licenses/LICENSE-2.0
0009 
0010     Unless required by applicable law or agreed to in writing, software
0011     distributed under the License is distributed on an "AS IS" BASIS,
0012     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0013     See the License for the specific language governing permissions and
0014     limitations under the License.
0015 */
0016 
0017 #ifndef __TBB_task_H
0018 #define __TBB_task_H
0019 
0020 #include "detail/_config.h"
0021 #include "detail/_namespace_injection.h"
0022 #include "detail/_task.h"
0023 
0024 namespace tbb {
0025 inline namespace v1 {
0026 namespace task {
0027 #if __TBB_RESUMABLE_TASKS
0028     using detail::d1::suspend_point;
0029     using detail::d1::resume;
0030     using detail::d1::suspend;
0031 #endif /* __TBB_RESUMABLE_TASKS */
0032     using detail::d1::current_context;
0033 } // namespace task
0034 } // namespace v1
0035 } // namespace tbb
0036 
0037 #endif /* __TBB_task_H */