Date: Wed, 31 Jul 2019 19:46:57 +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-2uUEqRUz0f@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 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> --- 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 dlope= ned 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. --=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-2uUEqRUz0f>