thread::native_handle and hardware_concurrency

std::thread::native_handle

As we know that std::thread is written over[internally uses] POSIX Pthread Library therefore if provides a POSIX thread handle to support any feature that is as of now not part of std::thread but facility available in POSIX Pthread Library such as thread scheduling.

native_handle() return native thread handler.

 

std::thread:: hardware_concurrency

This shall return number of concurrent thread supported by hardware implementation. It is just a hint.




PREV::thread::native_handle and hardware_concurrency

Your Comments /Suggestions & Questions are always welcome. 

We would like to help you with best of our knowledge.

So feel free to put Questions

No comments:

Post a Comment