Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/thread.h

    r43ac0cc rdf58e44  
    4949#include <sysinfo/abi.h>
    5050
     51#define THREAD_STACK_SIZE   STACK_SIZE
    5152#define THREAD_NAME_BUFLEN  20
    5253
     
    139140        bool interrupted;
    140141       
     142        /**
     143         * If true, the scheduler will print a stack trace
     144         * to the kernel console upon scheduling this thread.
     145         */
     146        bool btrace;
     147       
    141148        /** If true, thread_join_timeout() cannot be used on this thread. */
    142149        bool detached;
     
    155162         */
    156163        int fpu_context_engaged;
    157        
    158         /* The thread will not be migrated if nomigrate is non-zero. */
    159         int nomigrate;
    160164       
    161165        /** Thread's state. */
     
    192196       
    193197#ifdef CONFIG_UDEBUG
    194         /**
    195          * If true, the scheduler will print a stack trace
    196          * to the kernel console upon scheduling this thread.
    197          */
    198         bool btrace;
    199        
    200198        /** Debugging stuff */
    201199        udebug_thread_t udebug;
     
    247245extern void thread_update_accounting(bool);
    248246extern bool thread_exists(thread_t *);
    249 
    250 extern void thread_migration_disable(void);
    251 extern void thread_migration_enable(void);
    252 
    253 #ifdef CONFIG_UDEBUG
    254247extern void thread_stack_trace(thread_id_t);
    255 #endif
    256248
    257249/** Fpu context slab cache. */
     
    264256extern sysarg_t sys_thread_get_id(thread_id_t *);
    265257extern sysarg_t sys_thread_usleep(uint32_t);
    266 extern sysarg_t sys_thread_udelay(uint32_t);
    267258
    268259#endif
Note: See TracChangeset for help on using the changeset viewer.