18 #ifndef __POK_THREAD_H__ 
   19 #define __POK_THREAD_H__ 
   21 #ifdef POK_NEEDS_THREADS 
   34 #define KERNEL_THREAD           POK_CONFIG_NB_THREADS -2 
   35 #define IDLE_THREAD        POK_CONFIG_NB_THREADS -1 
   37 #define POK_THREAD_DEFAULT_TIME_CAPACITY 10 
   44 #define POK_THREAD_MAX_PRIORITY  200 
   51 #define IDLE_STACK_SIZE         1024 
   52 #define DEFAULT_STACK_SIZE      4096 
   54 #ifndef POK_USER_STACK_SIZE 
   55 #define POK_USER_STACK_SIZE 8096 
   69 #ifdef POK_NEEDS_SCHED_HFPPS 
   94 void           pok_thread_init (
void);
 
   95 pok_ret_t      pok_thread_create (
uint8_t* thread_id, 
const pok_thread_attr_t* attr);
 
   99 void           pok_thread_start (
void (*entry)(), 
unsigned int id);
 
  104 #ifdef POK_NEEDS_PARTITIONS 
  106                                             const pok_thread_attr_t* attr,
 
  112 #define POK_CURRENT_THREAD pok_threads[POK_SCHED_CURRENT_THREAD]