Back to index

glibc  2.9
tst-tls10.h
Go to the documentation of this file.
00001 #include <tls.h>
00002 #include <stdlib.h>
00003 
00004 #if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
00005 # define USE_TLS__THREAD
00006 
00007 struct A
00008 {
00009   char a;
00010   int b;
00011   long long c;
00012 };
00013 
00014 extern __thread struct A a1, a2, a3, a4;
00015 extern struct A *f1a (void);
00016 extern struct A *f2a (void);
00017 extern struct A *f3a (void);
00018 extern struct A *f4a (void);
00019 extern struct A *f5a (void);
00020 extern struct A *f6a (void);
00021 extern struct A *f7a (void);
00022 extern struct A *f8a (void);
00023 extern struct A *f9a (void);
00024 extern struct A *f10a (void);
00025 extern int f1b (void);
00026 extern int f2b (void);
00027 extern int f3b (void);
00028 extern int f4b (void);
00029 extern int f5b (void);
00030 extern int f6b (void);
00031 extern int f7b (void);
00032 extern int f8b (void);
00033 extern int f9b (void);
00034 extern int f10b (void);
00035 extern void check1 (void);
00036 extern void check2 (void);
00037 #endif