TLS_DO_SET_THREAD_AREA in tls.h?

Jakub Jelinek jakub@redhat.com
Thu Aug 8 01:18:00 GMT 2002


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



More information about the Libc-hacker mailing list