[EMCpp]Item-38 Be Aware of Varying Thread Handle Destructor Behavior
· ☕ 2 min read
Future destructors normally just destroy the future’s data members, execept for the final future referring to a shared state for a non-deferred task launched via std::async
, which blocks until the task completes.