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