Loading...
Searching...
No Matches
threadLimits_impl.h
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
12PXR_NAMESPACE_OPEN_SCOPE
13
15
18unsigned WorkImpl_GetPhysicalConcurrencyLimit();
19
22void WorkImpl_SetConcurrencyLimit(unsigned n);
23
26void WorkImpl_InitializeThreading(unsigned threadLimit);
27
30unsigned WorkImpl_GetConcurrencyLimit();
31
34bool WorkImpl_SupportsGranularThreadLimits();
35
36PXR_NAMESPACE_CLOSE_SCOPE
37
38#endif // PXR_BASE_WORK_TBB_THREAD_LIMITS_IMPL_H