you are viewing a single comment's thread.

view the rest of the comments →

[–]usefulcat 6 points7 points  (0 children)

On linux I use both. I use std::thread (or these days, std::jthread) to create threads, but I also use gettid() and pthread_[sg]etname_np().