C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Make std::thread not joinable after thread function ends.

From: Lee Howes <xrikcus_at_[hidden]>
Date: Sun, 18 Jun 2023 14:23:16 -0700
Are you really asking for a non-blocking join?

If(t.join_will_notblock()) t.join();

That would not be a race because it is a latching property.

Lee

Received on 2023-06-18 21:23:28