Skip to content

HYDRA-2483 - Move dg_access_mutex down to where it's actually needed - #489

Open
vlasovi wants to merge 1 commit into
devfrom
vlasovi/HYDRA-2483
Open

HYDRA-2483 - Move dg_access_mutex down to where it's actually needed#489
vlasovi wants to merge 1 commit into
devfrom
vlasovi/HYDRA-2483

Conversation

@vlasovi

@vlasovi vlasovi commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

The current placement of dg_access_mutex is too high in the stack. In case where many rprims updated, this prevents full multithreading of Hydra's SyncAll. This change moves the mutex down to the methods that actually access Maya DG.

@vlasovi vlasovi self-assigned this Aug 14, 2026

@lilike-adsk lilike-adsk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, we can continue to add lock if there's any missing place

@vlasovi vlasovi added the ready-for-merge Development process is finished, PR is ready for merge label Aug 17, 2026

@ppt-adsk ppt-adsk left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just a couple of minor questions.

Comment thread lib/mayaHydra/hydraExtensions/adapters/shapeAdapter.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge Development process is finished, PR is ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants