xref: /oneTBB/python/rml/ipc_utils.h (revision b15aabb3)
151c0b2f7Stbbdev /*
2*b15aabb3Stbbdev     Copyright (c) 2017-2021 Intel Corporation
351c0b2f7Stbbdev 
451c0b2f7Stbbdev     Licensed under the Apache License, Version 2.0 (the "License");
551c0b2f7Stbbdev     you may not use this file except in compliance with the License.
651c0b2f7Stbbdev     You may obtain a copy of the License at
751c0b2f7Stbbdev 
851c0b2f7Stbbdev         http://www.apache.org/licenses/LICENSE-2.0
951c0b2f7Stbbdev 
1051c0b2f7Stbbdev     Unless required by applicable law or agreed to in writing, software
1151c0b2f7Stbbdev     distributed under the License is distributed on an "AS IS" BASIS,
1251c0b2f7Stbbdev     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1351c0b2f7Stbbdev     See the License for the specific language governing permissions and
1451c0b2f7Stbbdev     limitations under the License.
1551c0b2f7Stbbdev */
1651c0b2f7Stbbdev 
1751c0b2f7Stbbdev #ifndef __IPC_UTILS_H
1851c0b2f7Stbbdev #define __IPC_UTILS_H
1951c0b2f7Stbbdev 
2051c0b2f7Stbbdev namespace tbb {
2151c0b2f7Stbbdev namespace internal {
2251c0b2f7Stbbdev namespace rml {
2351c0b2f7Stbbdev 
2451c0b2f7Stbbdev char* get_shared_name(const char* prefix);
2551c0b2f7Stbbdev int get_num_threads(const char* env_var);
2651c0b2f7Stbbdev bool get_enable_flag(const char* env_var);
2751c0b2f7Stbbdev 
2851c0b2f7Stbbdev }}} // namespace tbb::internal::rml
2951c0b2f7Stbbdev 
3051c0b2f7Stbbdev #endif
31