repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* configure.in: Avoid variable named BASH.
[glibc.git]
/
nptl
/
tst-locale2.c
blob
c8821ad6b8619b1b1b79181a605934c94db14453
1
/* Test that the thread-local locale works right in the main thread
2
when statically linked. */
3
4
#include
"../argp/tst-argp1.c"
5
6
#include <pthread.h>
7
8
/* This is never called, just here to get pthreads linked in. */
9
void
*
10
useless
(
void
*
a
)
11
{
12
pthread_t th
;
13
pthread_create
(&
th
,
0
,
useless
,
a
);
14
}