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 a deadlock and keep the semantics of wait_timeout in wait_queue unchanged #23

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

AuYang261
Copy link
Contributor

@AuYang261 AuYang261 commented Nov 9, 2023

I moved the calling of current().destroy_keys() to axtask::api::exit() before RUN_QUEUE being locked, thus solving the deadlock in tsd destroying function.

And I changed axtask::wait_queue::wait_timeout back to its original semantics.

@AuYang261 AuYang261 changed the title Fix the deadlock in tsd destroying function and keep the semantics of wait_timeout in wait_queue unchanged Fix a deadlock and keep the semantics of wait_timeout in wait_queue unchanged Nov 9, 2023
@coolyjg coolyjg merged commit 4a61969 into syswonder:dev Nov 14, 2023
11 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.

2 participants