std::thread
std::thread
Defined in header <thread> | ||
---|---|---|
class thread; | (since C++11) |
The class thread
represents a single thread of execution. Threads allow multiple functions to execute concurrently.
Threads begin execution immediately upon construction of the associated thread object (pending any OS scheduling delays), starting at the top-level function provided as a 登录查看完整内容