diff options
Diffstat (limited to 'nptl/sysdeps/i386/tls.h')
-rw-r--r-- | nptl/sysdeps/i386/tls.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nptl/sysdeps/i386/tls.h b/nptl/sysdeps/i386/tls.h index 7ee2bcac19..03757bb4c7 100644 --- a/nptl/sysdeps/i386/tls.h +++ b/nptl/sysdeps/i386/tls.h @@ -251,6 +251,10 @@ union user_desc_init : "i" (offsetof (struct pthread, header.self))); \ __self;}) +/* Identifier for the current thread. THREAD_SELF is usable but + sometimes more expensive than necessary. It is fine here. */ +# define THREAD_ID THREAD_SELF + /* Read member of the thread descriptor directly. */ # define THREAD_GETMEM(descr, member) \ |