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


Ignore:
Timestamp:
2024-01-21T16:23:24Z (12 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
a5b5f17
Parents:
dfa4be62
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-20 18:01:21)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-21 16:23:24)
Message:

Use thread state variable instead of a cpu local variable to pass state

File:
1 edited

Legend:

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

    rdfa4be62 rd23712e  
    193193        bool stolen;
    194194
    195         /** Thread state. */
     195        /**
     196         * Thread state (state_t).
     197         * This is atomic because we read it via some commands for debug output,
     198         * otherwise it could just be a regular local.
     199         */
    196200        atomic_int_fast32_t state;
    197201
Note: See TracChangeset for help on using the changeset viewer.