thread.h File Reference

#include <linux/param.h>

Go to the source code of this file.

Macros

#define FA_THREAD_STACK_EXTRA_SIZE   0
 
#define FA_THREAD_STACK_MIN_SIZE   PTHREAD_STACK_MIN
 
#define FA_THREAD_STACK_ALIGNMENT   EXEC_PAGESIZE
 

Detailed Description

Linux-specific Legato Thread include file.

The Thread module is part of the Thread Control API implementation.

Macro Definition Documentation

◆ FA_THREAD_STACK_ALIGNMENT

#define FA_THREAD_STACK_ALIGNMENT   EXEC_PAGESIZE

Required alignment for the stack, in bytes.

◆ FA_THREAD_STACK_EXTRA_SIZE

#define FA_THREAD_STACK_EXTRA_SIZE   0

Extra space to allocate with the stack area.

◆ FA_THREAD_STACK_MIN_SIZE

#define FA_THREAD_STACK_MIN_SIZE   PTHREAD_STACK_MIN

Minimum static stack size. Smaller stacks will be clamped to this value.