* pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Define.
[glibc/pb-stable.git] / elf / tst-tls10.h
blobbffc332a0aa1b5b1bd5ffff135c7b3daf517f5d5
1 #include <tls.h>
2 #include <stdlib.h>
4 #if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
5 # define USE_TLS__THREAD
7 struct A
9 char a;
10 int b;
11 long long c;
14 extern __thread struct A a1, a2, a3, a4;
15 extern struct A *f1a (void);
16 extern struct A *f2a (void);
17 extern struct A *f3a (void);
18 extern struct A *f4a (void);
19 extern struct A *f5a (void);
20 extern struct A *f6a (void);
21 extern struct A *f7a (void);
22 extern struct A *f8a (void);
23 extern struct A *f9a (void);
24 extern struct A *f10a (void);
25 extern int f1b (void);
26 extern int f2b (void);
27 extern int f3b (void);
28 extern int f4b (void);
29 extern int f5b (void);
30 extern int f6b (void);
31 extern int f7b (void);
32 extern int f8b (void);
33 extern int f9b (void);
34 extern int f10b (void);
35 extern void check1 (void);
36 extern void check2 (void);
37 #endif