summaryrefslogtreecommitdiffstats
path: root/qemu-tls.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename get_tls to tls_varJan Kiszka2011-12-061-2/+2
| | | | | | | get_tls() can serve as a lvalue as well, so 'get' might be confusing. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
* qemu-tls.h: Add abstraction layer for TLS variablesPeter Maydell2011-11-011-0/+52
Add an abstraction layer for defining and using thread-local variables. For the moment this is implemented only for Linux, which means they can only be used in restricted circumstances. The abstraction layer allows us to add POSIX and Win32 support later. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>