This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

TLS static info and _dl_get_tls_static_info()


Hi,

I am working on ThreadSanitizer, a data race detector for C/C++
(http://clang.llvm.org/docs/ThreadSanitizer.html).
In the runtime library I need to obtain info about thread local
storage. Currently I use _dl_get_tls_static_info() function for that.
It's a glibc private function, so this is bad.

Is there another better way to obtain tls size or address for particular thread?

TIA


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]