Changeset c7ceacf in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2024-01-15T14:54:17Z (12 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
5861b60
Parents:
4760793 (diff), 151c050 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge part of scheduler refactoring changes

A series of changes meant to remove unnecessary spinlock uses and
to improve understandability of the code.

File:
1 edited

Legend:

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

    r4760793 rc7ceacf  
    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.