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

[BUG-FIX] There is a bug in the rw_spinlock. #84

Merged
merged 1 commit into from
Dec 26, 2024

Conversation

wangzhi-art
Copy link
Contributor

There is a bug in the rw_spinlock. Each time atomic_compare_exchange_strong(object, expected, desired) is executed, the value of object is assigned to expected, so the value of expected needs to be reset each time.

There is a bug in the rw_spinlock. Each time atomic_compare_exchange_strong(object, expected, desired) is executed, the value of object is assigned to expected, so the value of expected needs to be reset each time.

Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com>
@CLAassistant
Copy link

CLAassistant commented Dec 26, 2024

CLA assistant check
All committers have signed the CLA.

@pengxianghao21 pengxianghao21 requested review from pengxianghao21 and removed request for pengxianghao21 December 26, 2024 11:43
@xiaoxiang781216 xiaoxiang781216 merged commit 0560a15 into open-vela:dev Dec 26, 2024
3 checks passed
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.

4 participants