pthreaddef.h 593 B

12345678910111213141516171819
  1. /* Default stack size. */
  2. #define ARCH_STACK_DEFAULT_SIZE (2 * 1024 * 1024)
  3. /* Required stack pointer alignment at beginning. SSE requires 16
  4. bytes. */
  5. #define STACK_ALIGN 16
  6. /* Minimal stack size after allocating thread descriptor and guard size. */
  7. #define MINIMAL_REST_STACK 2048
  8. /* Alignment requirement for TCB. */
  9. #define TCB_ALIGNMENT 16
  10. /* Location of current stack frame. */
  11. #define CURRENT_STACK_FRAME __builtin_frame_address (0)
  12. /* XXX Until we have a better place keep the definitions here. */
  13. #define __exit_thread_inline(val) \
  14. INLINE_SYSCALL (exit, 1, (val))