The member variable _Associated_state::_Ready_at_thread_exit is set as false on construction, and never modified elsewhere. What does it do?
https://github.com/microsoft/STL/blob/a62109595b6d89e08172fdf4beb75a2670fe0cc9/stl/inc/future#L208?plain=1
Its associated functions are _Is_ready_at_thread_exit and _Make_ready_at_thread_exit.
_Is_ready_at_thread_exit always returns false and is widely referred to in <future>. (search result)
|
bool _Is_ready_at_thread_exit() const noexcept {
|
|
return _Ready_at_thread_exit;
|
|
}
|
_Make_ready_at_thread_exit is always a no-op, and is not used anywhere. (
search result)
|
void _Make_ready_at_thread_exit() { // set ready status at thread exit
|
|
if (_Ready_at_thread_exit) {
|
|
_Ready = true;
|
|
}
|
|
}
|
The member variable
_Associated_state::_Ready_at_thread_exitis set asfalseon construction, and never modified elsewhere. What does it do?https://github.com/microsoft/STL/blob/a62109595b6d89e08172fdf4beb75a2670fe0cc9/stl/inc/future#L208?plain=1
Its associated functions are
_Is_ready_at_thread_exitand_Make_ready_at_thread_exit._Is_ready_at_thread_exitalways returns false and is widely referred to in<future>. (search result)STL/stl/inc/future
Lines 373 to 375 in a621095
_Make_ready_at_thread_exitis always a no-op, and is not used anywhere. (search result)STL/stl/inc/future
Lines 398 to 402 in a621095