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

Implement set_thread_name on POSIX systems #6252

Closed
hkaiser opened this issue May 20, 2023 · 0 comments · Fixed by #6272
Closed

Implement set_thread_name on POSIX systems #6252

hkaiser opened this issue May 20, 2023 · 0 comments · Fixed by #6272

Comments

@hkaiser
Copy link
Member

hkaiser commented May 20, 2023

hpx::util::set_thread_name is currently implemented on Windows only. We should implement the same (or similar functionality) on POSIX systems. See https://stackoverflow.com/a/7989973/269943 for details.

@Johan511 Johan511 mentioned this issue Jun 5, 2023
3 tasks
bors bot pushed a commit that referenced this issue Jun 21, 2023
6272: set thread name for linux r=hkaiser a=Johan511

Fixes #6252

## Proposed Changes
set_thread_name for better debugging

## Any background context you want to provide?

## Checklist

Not all points below apply to all pull requests.

- [ ] I have added a new feature and have added tests to go along with it.
- [ ] I have fixed a bug and have added a regression test.
- [ ] I have added a test using random numbers; I have made sure it uses a seed, and that random numbers generated are valid inputs for the tests.


Co-authored-by: Hari Hara Naveen S <johan511@rostam1.rostam.cct.lsu.edu>
Co-authored-by: Hari Hara Naveen S <johan511@medusa00.rostam.cct.lsu.edu>
hkaiser added a commit that referenced this issue Jun 22, 2023
set thread name for linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant