Back to index

glibc  2.9
tst-tlsmod15b.c
Go to the documentation of this file.
00001 #include "tst-tls10.h"
00002 
00003 #ifdef USE_TLS__THREAD
00004 __thread int mod15b_var __attribute__((tls_model("initial-exec")));
00005 
00006 int
00007 in_dso (void)
00008 {
00009   return mod15b_var;
00010 }
00011 #else
00012 int
00013 in_dso (void)
00014 {
00015   return 0;
00016 }
00017 #endif