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

Feature request: API dump actual thread id as well #2005

Open
wasimabbas-arm opened this issue Apr 26, 2024 · 0 comments
Open

Feature request: API dump actual thread id as well #2005

wasimabbas-arm opened this issue Apr 26, 2024 · 0 comments
Assignees

Comments

@wasimabbas-arm
Copy link

wasimabbas-arm commented Apr 26, 2024

Currently API dump will save thread ids into a std::map and return index of the thread id in the map which is a sequential number from 0 to something.

uint64_t threadID() {

This looks good but unusable. I can't compare this to the actual thread IDs I get in my application that I get via std::this_thread::get_id()

Ideally threadID() could return a pair of actual thread id as string and the map incremental id so both can be displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants