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

Use pthread_cleanup_push to catch a thread exiting while tracing #941

Open
ltratt opened this issue Jan 23, 2024 · 0 comments
Open

Use pthread_cleanup_push to catch a thread exiting while tracing #941

ltratt opened this issue Jan 23, 2024 · 0 comments
Assignees

Comments

@ltratt
Copy link
Contributor

ltratt commented Jan 23, 2024

At the moment a thread that exits while tracing leaves a Location in the tracing state until another thread notices that the Location can't possibly still be tracing. We should be able to use pthread_cleanup_push to deal with this more elegantly.

@ltratt ltratt self-assigned this Jan 23, 2024
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

No branches or pull requests

1 participant