Back to index

glibc  2.9
Defines
pthreaddef.h File Reference

Go to the source code of this file.

Defines

#define ARCH_STACK_DEFAULT_SIZE   (2 * 1024 * 1024)
#define STACK_ALIGN   16
#define MINIMAL_REST_STACK   2048
#define TCB_ALIGNMENT   16
#define CURRENT_STACK_FRAME   __builtin_frame_address (0)
#define __exit_thread_inline(val)

Define Documentation

#define __exit_thread_inline (   val)
Value:
while (1) {                                                          \
    if (__builtin_constant_p (val) && (val) == 0)                           \
      asm volatile ("xorl %%ebx, %%ebx; int $0x80" :: "a" (__NR_exit));            \
    else                                                             \
      asm volatile ("movl %1, %%ebx; int $0x80"                             \
                  :: "a" (__NR_exit), "r" (val));                           \
  }

Definition at line 41 of file pthreaddef.h.

#define ARCH_STACK_DEFAULT_SIZE   (2 * 1024 * 1024)

Definition at line 21 of file pthreaddef.h.

#define CURRENT_STACK_FRAME   __builtin_frame_address (0)

Definition at line 35 of file pthreaddef.h.

#define MINIMAL_REST_STACK   2048

Definition at line 28 of file pthreaddef.h.

#define STACK_ALIGN   16

Definition at line 25 of file pthreaddef.h.

#define TCB_ALIGNMENT   16

Definition at line 31 of file pthreaddef.h.