[Bug 239550] std::thread::id uses pthread_equal in undefined ways not handled by _pthread_stubs
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239550 --- Comment #2 from [email protected] --- (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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-threads To unsubscribe, send any mail to "[email protected]"