2 ms·
Don't most implementations at least use TLS for their implementations to preserve a modicum of sanity there?
by wyldfire 10y ago
Don't most implementations at least use TLS for their implementations to preserve a modicum of sanity there?
- JoshTriplett 10y agoSome of them do, though not all. And that also doesn't fix problems with signals and similar. But for all of those functions, glibc and some other C libraries provide reentrant variants like "basename_r" and "ptsname_r".