repo.or.cz
/
glibc
/
pb-stable.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Optimize for kernels which are known to have the vfork syscall.
[glibc/pb-stable.git]
/
nptl
/
tst-locale2.c
blob
2c803e3ef00f29de226600316001721540f6b635
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
)
11
{
12
pthread_create
(
0
,
0
,
0
,
0
);
13
}