Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

work: move work thread limit within namespace #3280

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pxr/base/work/threadLimits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@

PXR_NAMESPACE_USING_DIRECTIVE

PXR_NAMESPACE_OPEN_SCOPE

// The environment variable used to limit the number of threads the application
// may spawn:
// 0 - no change, i.e. defaults to maximum physical concurrency
Expand All @@ -48,8 +50,6 @@ TF_DEFINE_ENV_SETTING(
"the environment variable (if set to a non-zero value) will override any "
"value passed to Work thread-limiting API calls.");

PXR_NAMESPACE_OPEN_SCOPE

// We create a global_control or task_scheduler_init instance at static
// initialization time if PXR_WORK_THREAD_LIMIT is set to a nonzero value.
// Otherwise this stays NULL.
Expand Down