KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In the following code snippet, void foo() { std::this_thread::native_handle().... //error here } int main() { std::thread t1(foo); t1.join(); return 0; } How do you get the native_handle from std::this_thread from within the function foo ?
Tags (comma-separated)
Save Edits
Cancel