Back to index

glibc  2.9
tst-static-locale.c
Go to the documentation of this file.
00001 /* Test that the thread-local locale works right in the main thread
00002    when statically linked.  */
00003 
00004 #include "../locale/tst-C-locale.c"
00005 
00006 #include <pthread.h>
00007 
00008 /* This is never called, just here to get pthreads linked in.  */
00009 void
00010 useless (void)
00011 {
00012   pthread_create (0, 0, 0, 0);
00013 }