This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/25158] warning when using non-thread-safe functions
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 04 Nov 2019 16:53:18 +0000
- Subject: [Bug nptl/25158] warning when using non-thread-safe functions
- Auto-submitted: auto-generated
- References: <bug-25158-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=25158
--- Comment #1 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
Given the proposal to merge libpthread into libc
<https://sourceware.org/ml/libc-alpha/2019-10/msg00080.html>, I'm not sure
"when -lpthread is used" is a good basis for warning. (I don't know if
putting a linker warning for a symbol in libpthread, when the symbol
itself is in libc, would work, either.)
Note the proposal
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2444.htm> to allow
strtok state to be thread-local (as in Solaris) and so avoid problems that
way.
--
You are receiving this mail because:
You are on the CC list for the bug.