Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jul 2019 21:01:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        threads@FreeBSD.org
Subject:   [Bug 239550] std::thread::id uses pthread_equal in undefined ways not handled by _pthread_stubs
Message-ID:  <bug-239550-13406-4GRR4skCt0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239550-13406@https.bugs.freebsd.org/bugzilla/>
References:  <bug-239550-13406@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239550

--- Comment #2 from andrew@tao11.riddles.org.uk ---
(In reply to Konstantin Belousov from comment #1)

pthread_getthreadid_np is irrelevant to this question since that is returni=
ng
something completely different.

The referenced bug shows that this is a real live issue with ports, so it n=
eeds
fixing, not just handwaving away with "link libthr into everything". There =
is
no sane reason why a port like protobuf would have to link in libthr just to
get std::thread::id() !=3D std::this_thread::get_id()  to come out true.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239550-13406-4GRR4skCt0>