TLS (GNU/C11 thread-local storage) support for static-linked programs
[musl] / src / internal / libc.h
index ea863d6..ca06f31 100644 (file)
@@ -16,6 +16,7 @@ struct __libc {
        int canceldisable;
        FILE *ofl_head;
        int ofl_lock[2];
+       volatile size_t tls_size, tls_cnt;
 };
 
 extern size_t __hwcap;