Ignore:
File:
1 edited

Legend:

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

    r06f81c4 r151c050  
    113113         */
    114114        context_t saved_context;
    115         ipl_t saved_ipl;
    116115
    117116        /**
     
    190189extern void thread_interrupt(thread_t *);
    191190
     191enum sleep_state {
     192        SLEEP_INITIAL,
     193        SLEEP_ASLEEP,
     194        SLEEP_WOKE,
     195};
     196
    192197typedef enum {
    193198        THREAD_OK,
     
    238243extern errno_t thread_join_timeout(thread_t *, uint32_t, unsigned int);
    239244
     245extern void thread_yield(void);
     246
    240247extern void thread_print_list(bool);
    241248extern thread_t *thread_find_by_id(thread_id_t);
Note: See TracChangeset for help on using the changeset viewer.