Skip to content

Conversation

@misaka18931
Copy link
Contributor

config entries has been updated.

Change:

  • queue m_status change in the main thread, after all queued config init invocations, to ensure thread safety.

Copilot AI review requested due to automatic review settings January 21, 2026 05:53
@deepin-ci-robot
Copy link
Contributor

Hi @misaka18931. Thanks for your PR. 😃

@deepin-ci-robot
Copy link
Contributor

Hi @misaka18931. Thanks for your PR.

I'm waiting for a linuxdeepin member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a race condition in the dconfig2cpp-generated code where isInitializeSucceeded() could return true before all configuration property values were fully initialized in the main thread.

Changes:

  • Moved the status transition from Initializing to Succeeded (and the associated success signal emission) into a queued invocation to the main thread, ensuring it executes after all property initialization operations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Member

@zccrs zccrs left a comment

Choose a reason for hiding this comment

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

参考 #531 这个提交,把dtkcore里已有的那些代码更新一下,在这个提交里一起。

config entries has been updated.

Change:
- queue `m_status` change in the main thread, after all queued config
  init invocations, to ensure thread safety.
- updated generated headers in project.
@deepin-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: misaka18931, zccrs

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@zccrs zccrs merged commit 885fea7 into linuxdeepin:master Jan 21, 2026
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants