Home ⌂Doc Index ◂Up ▴
Intel(R) Threading Building Blocks Doxygen Documentation  version 4.2.3
critical_section.cpp
Go to the documentation of this file.
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 "tbb/critical_section.h"
18 #include "itt_notify.h"
19 
20 namespace tbb {
21  namespace internal {
22 
24  ITT_SYNC_CREATE(&my_impl, _T("ppl::critical_section"), _T(""));
25 }
26 } // namespace internal
27 } // namespace tbb
#define _T(string_literal)
Standard Windows style macro to markup the string literals.
Definition: itt_notify.h:59
void __TBB_EXPORTED_METHOD internal_construct()
#define ITT_SYNC_CREATE(obj, type, name)
Definition: itt_notify.h:115
The graph class.

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.