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

[Question] Why do we clone a thread instead of using next_ref.thread.unpark? #919

Closed
SirCollypso opened this issue Apr 12, 2024 · 1 comment
Assignees
Labels
lecture question/discussion related to lectures question Further information is requested

Comments

@SirCollypso
Copy link

Screenshot_20240412_224343

Why do we need to clone a thread instead of using next_ref.thread.unpark()? I understand the ordering issue and that we need to store before unparking. But why cannot we use next_ref.thread after store?

@SirCollypso SirCollypso added the question Further information is requested label Apr 12, 2024
@m-spitfire
Copy link

Duplicate of #176

@Lee-Janggun Lee-Janggun added the lecture question/discussion related to lectures label Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lecture question/discussion related to lectures question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants