https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89591
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89591
--- Comment #2 from Alexandre Bique ---
> It's initialized here:
>
>> id() noexcept : _M_thread() { }
I did not know that it would initialize it to 0.
In that case let's hope that pthread_t == "value-initialized" will never
happen.
Thank you
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89591
--- Comment #1 from Jonathan Wakely ---
(In reply to Alexandre Bique from comment #0)
> Hi,
>
> I've been reading the header and I've found that the thread id of
> std::thread is not initialized, I hope that I'm wrong and I missed something.
I