critical_section.cpp
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 "tbb/critical_section.h"
#include "itt_notify.h"
namespace tbb {
namespace internal {
void critical_section_v4::internal_construct() {
ITT_SYNC_CREATE(&my_impl, _T("ppl::critical_section"), _T(""));
}
} // namespace internal
} // namespace tbb
critical_section.h
itt_notify.h
_T
#define _T(string_literal)
Standard Windows style macro to markup the string literals.
Definition: itt_notify.h:59
ITT_SYNC_CREATE
#define ITT_SYNC_CREATE(obj, type, name)
Definition: itt_notify.h:115
tbb
The graph class.
Definition: serial/tbb/parallel_for.h:46
internal
Definition: _flow_graph_async_msg_impl.h:24
tbb::internal::critical_section_v4::my_impl
pthread_mutex_t my_impl
Definition: critical_section.h:54
tbb::internal::critical_section_v4::internal_construct
void __TBB_EXPORTED_METHOD internal_construct()
Definition: critical_section.cpp:23

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.