2002-12-03 07:01:38 +01:00
|
|
|
/* Test that the thread-local locale works right in the main thread
|
|
|
|
when statically linked. */
|
|
|
|
|
|
|
|
#include "../locale/tst-C-locale.c"
|
|
|
|
|
|
|
|
#include <pthread.h>
|
2002-12-18 01:53:21 +01:00
|
|
|
#include <signal.h>
|
2002-12-03 07:01:38 +01:00
|
|
|
|
|
|
|
/* This is never called, just here to get pthreads linked in. */
|
2002-12-18 01:53:21 +01:00
|
|
|
int
|
2002-12-03 07:01:38 +01:00
|
|
|
useless (void)
|
|
|
|
{
|
|
|
|
pthread_create (0, 0, 0, 0);
|
2002-12-18 01:53:21 +01:00
|
|
|
/* This is to check __libc_current_sigrt* can be used in statically
|
|
|
|
linked apps. */
|
|
|
|
return SIGRTMIN;
|
2002-12-03 07:01:38 +01:00
|
|
|
}
|