This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug nptl/25158] warning when using non-thread-safe functions


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]