Skip to content

fix: vcsim: extend PropertyCollector lock to avoid potential races#3700

Merged
dougm merged 1 commit intovmware:mainfrom
dougm:issue-3697
Mar 4, 2025
Merged

fix: vcsim: extend PropertyCollector lock to avoid potential races#3700
dougm merged 1 commit intovmware:mainfrom
dougm:issue-3697

Conversation

@dougm
Copy link
Copy Markdown
Member

@dougm dougm commented Feb 27, 2025

The collect() method needs to continue holding the object lock while processing selectSet.

Fixes #3697

The collect() method needs to continue holding the object lock while processing selectSet.

Fixes vmware#3697

Signed-off-by: Doug MacEachern <dougm@broadcom.com>
Copy link
Copy Markdown
Member

@dilyar85 dilyar85 left a comment

Choose a reason for hiding this comment

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

LGTM!

@dougm dougm merged commit 4f8d700 into vmware:main Mar 4, 2025
11 checks passed
@dougm dougm deleted the issue-3697 branch March 4, 2025 18:57
@vmware vmware locked as resolved and limited conversation to collaborators Mar 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Race in simulator vm.Reconfigure while another thread is reading properties

2 participants