HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
threadLimits_impl.h
Go to the documentation of this file.
1 //
2 // Copyright 2025 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_BASE_WORK_TBB_THREAD_LIMITS_IMPL_H
8 #define PXR_BASE_WORK_TBB_THREAD_LIMITS_IMPL_H
9 
10 #include "pxr/pxr.h"
11 
13 
14 /// TBB Thread Limit Implementations
15 
16 /// Implements WorkGetPhysicalConcurrencyLimit
17 ///
19 
20 /// Implements WorkSetConcurrencyLimit
21 ///
22 void WorkImpl_SetConcurrencyLimit(unsigned n);
23 
24 /// Helps implement Work_InitializeThreading
25 ///
26 void WorkImpl_InitializeThreading(unsigned threadLimit);
27 
28 /// Implements WorkGetConcurrencyLimit
29 ///
31 
32 /// Implements SupportsGranularThreadLimits
33 ///
35 
37 
38 #endif // PXR_BASE_WORK_TBB_THREAD_LIMITS_IMPL_H
void WorkImpl_SetConcurrencyLimit(unsigned n)
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
PXR_NAMESPACE_OPEN_SCOPE unsigned WorkImpl_GetPhysicalConcurrencyLimit()
TBB Thread Limit Implementations.
unsigned WorkImpl_GetConcurrencyLimit()
bool WorkImpl_SupportsGranularThreadLimits()
GLdouble n
Definition: glcorearb.h:2008
void WorkImpl_InitializeThreading(unsigned threadLimit)
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74