mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-08 13:01:17 +00:00
threads to have thread-private data which is quickly accessible via a segment in the GDT, stored in %gs. The patch implements the relevent syscalls (setthreadarea), and also manages switching the VCPU's segment information at thread context-switch time. Mostly Tom Hughes' work. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2215
2 lines
28 B
C
2 lines
28 B
C
__thread int static_extern;
|