39thread_locale [3][1024];
46 const char*
const name = setlocale (
LC_ALL, 0);
49 const unsigned long inx = (
unsigned long)
arg;
51 strcpy (thread_locale [
inx],
name);
61 const char* locale_name = setlocale (
LC_ALL,
"C");
64 strcpy (thread_locale [0], locale_name);
77 if (locale_name && strcmp (locale_name, thread_locale [0]))
87 if (pthread_join (thread [0], 0) || pthread_join (thread [1], 0))
93 return 0 == strcmp (thread_locale [0], thread_locale [1])
94 || 0 == strcmp (thread_locale [0], thread_locale [2]);
const char *const test_locale_names[]
void * thread_routine(void *arg)