Skip to content

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

Merged
lilike-adsk merged 1 commit into
devfrom
vlasovi/HYDRA-2483
Aug 18, 2026
Merged

HYDRA-2483 - Move dg_access_mutex down to where it's actually needed#489
lilike-adsk merged 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
@lilike-adsk
lilike-adsk merged commit 457e323 into dev Aug 18, 2026
12 checks passed
@lilike-adsk
lilike-adsk deleted the vlasovi/HYDRA-2483 branch August 18, 2026 13:50
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