Ignore:
File:
1 edited

Legend:

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

    rdf58e44 r43ac0cc  
    4949#include <sysinfo/abi.h>
    5050
    51 #define THREAD_STACK_SIZE   STACK_SIZE
    5251#define THREAD_NAME_BUFLEN  20
    5352
     
    140139        bool interrupted;
    141140       
    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        
    148141        /** If true, thread_join_timeout() cannot be used on this thread. */
    149142        bool detached;
     
    162155         */
    163156        int fpu_context_engaged;
     157       
     158        /* The thread will not be migrated if nomigrate is non-zero. */
     159        int nomigrate;
    164160       
    165161        /** Thread's state. */
     
    196192       
    197193#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       
    198200        /** Debugging stuff */
    199201        udebug_thread_t udebug;
     
    245247extern void thread_update_accounting(bool);
    246248extern bool thread_exists(thread_t *);
     249
     250extern void thread_migration_disable(void);
     251extern void thread_migration_enable(void);
     252
     253#ifdef CONFIG_UDEBUG
    247254extern void thread_stack_trace(thread_id_t);
     255#endif
    248256
    249257/** Fpu context slab cache. */
     
    256264extern sysarg_t sys_thread_get_id(thread_id_t *);
    257265extern sysarg_t sys_thread_usleep(uint32_t);
     266extern sysarg_t sys_thread_udelay(uint32_t);
    258267
    259268#endif
Note: See TracChangeset for help on using the changeset viewer.