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

fix: shm messge lost #15634

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

superMan-1012
Copy link

This commit strengthens the ConditionNotifier class by transitioning the seqs array to use atomic variables and by implementing proper memory ordering in both the Notify and Listen methods. These changes address potential concurrency issues, ensuring that sequence numbers and associated information are accurately and safely shared between threads. As a result, the notifier becomes more robust and reliable in multi-threaded environments.

@CLAassistant
Copy link

CLAassistant commented Jan 8, 2025

CLA assistant check
All committers have signed the CLA.

@superMan-1012 superMan-1012 force-pushed the feature/bugfix_shm_notify_coherence branch from cb77465 to bb4826a Compare January 9, 2025 08:31
@superMan-1012 superMan-1012 force-pushed the feature/bugfix_shm_notify_coherence branch from bb4826a to 33977ed Compare January 9, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants