Training courses
Kernel and Embedded Linux
Bootlin training courses
1 2 3 4 5 6 7 8 9 10
int foo (void); __thread int i_tls = 2; int main () { int result; result = foo (); /* Call to foo should return 2, not 1. */ result ++; return 0; /* break here to check result */ }