4d871f73af
TlsGetValue has a semantic difference with pthread_getspecific, in that it can return a non-error NULL value, so it always sets the LastError. But allocator callers may not be expecting calling e.g. free() to change the value of the last error, so preserve it. |
||
---|---|---|
.. | ||
jemalloc | ||
msvc_compat |