[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 Konstantin Belousov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Konstantin Belousov <[email protected]> --- There are some limits on how much efforts should we put on libc stubs when libthr is not linked in. This configuration is only supported to make it easier to create e.g. loadable modules which must work correctly when dlopened either in threaded or in non-threaded process. That said, if we start distinguishing the value 0, we get the next problem with pthread_getthreadid_np(3) which libc stub returns zero. We might fix this eventually, if the anticipated merge of libthr into libc occurs. sometime. Then it would work out of box. -- 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]"