[Bug 239550] std::thread::id uses pthread_equal in undefined ways not handled by _pthread_stubs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 31 21:01:22 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239550

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

pthread_getthreadid_np is irrelevant to this question since that is returning
something completely different.

The referenced bug shows that this is a real live issue with ports, so it needs
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() != std::this_thread::get_id()  to come out true.

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


More information about the freebsd-threads mailing list