This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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_DO_SET_THREAD_AREA in tls.h?


Hi!

This macro seems to be unused and broken.
Should it be killed?

#  define TLS_DO_SET_THREAD_AREA(descr)                                       \
 INLINE_SYSCALL (set_thread_area, 2, descr, 1);                               \
  if (__builtin_expect (__seg, 0) == -1)                                      \
    /* Nothing else we can do.  */                                            \
    asm ("hlt");                                                              \
  __seg;                                                                      \
})

	Jakub


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