Blame src/functional/tls_init_dso.c
|
Szabolcs Nagy |
164c1f |
static char buf[] = "foobar";
|
|
Szabolcs Nagy |
164c1f |
__thread char *tls = buf;
|
|
Szabolcs Nagy |
164c1f |
|
|
Szabolcs Nagy |
164c1f |
char *gettls()
|
|
Szabolcs Nagy |
164c1f |
{
|
|
Szabolcs Nagy |
164c1f |
return tls;
|
|
Szabolcs Nagy |
164c1f |
}
|
|
Szabolcs Nagy |
164c1f |
|