projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
simple TLS example
[libfirm]
/
ir
/
be
/
test
/
thread.c
1
#define __thread __declspec( thread )
2
__thread int tls_i = 1;
3
4
int test(void) {
5
return tls_i;
6
}