Searched refs:threadLocale (Results 1 - 1 of 1) sorted by relevance

/haiku/src/system/libroot/posix/locale/
H A DThreadLocale.cpp24 ThreadLocale* threadLocale = (ThreadLocale*)ptr; local
25 delete threadLocale;
32 ThreadLocale* threadLocale = (ThreadLocale*)tls_get(TLS_LOCALE_SLOT); local
33 if (threadLocale == NULL) {
34 threadLocale = new ThreadLocale();
35 threadLocale->glibcLocaleStruct = _nl_global_locale;
36 threadLocale->threadLocaleInfo = NULL;
37 on_exit_thread(DestroyThreadLocale, threadLocale);
38 tls_set(TLS_LOCALE_SLOT, threadLocale);
40 return threadLocale;
[all...]

Completed in 18 milliseconds