Back to index

glibc  2.9
Defines
pthreaddef.h File Reference
#include <sysdep.h>

Go to the source code of this file.

Defines

#define ARCH_STACK_DEFAULT_SIZE   (2 * 1024 * 1024)
#define STACK_ALIGN   8
#define MINIMAL_REST_STACK   2048
#define TCB_ALIGNMENT   8
#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 ("mov #0,r4; mov %0,r3; trapa #0x11\n\t" SYSCALL_INST_PAD  \
                 :: "i" (__NR_exit));  \
    else                                                             \
      asm volatile ("mov %1,r4; mov %0,r3; trapa #0x11\n\t" SYSCALL_INST_PAD  \
                  :: "i" (__NR_exit), "r" (val));                           \
  }

Definition at line 41 of file pthreaddef.h.

#define ARCH_STACK_DEFAULT_SIZE   (2 * 1024 * 1024)

Definition at line 22 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   8

Definition at line 25 of file pthreaddef.h.

#define TCB_ALIGNMENT   8

Definition at line 31 of file pthreaddef.h.