std::thread::detach
cppreference.com
[] |
Google. . , . , . |
<metanoindex/>
<tbody> </tbody> void detach(); |
( C++11) | |
, . , .
:
Separates the thread of execution from the thread object, allowing execution to continue independently. Any allocated resources will be freed once the thread exits.
detach, *thisjoinable() == falseget_id() == std::thread::id()
()
()
| : |
.
| , (public - std::{{{1}}})
| |
| , , .. (public - std::{{{1}}})
|