Changeset 9fbdeca in mainline


Ignore:
Timestamp:
2024-01-21T16:19:41Z (3 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master
Children:
a3d87b9
Parents:
3fa4e22a
Message:

The initialization value for priority is actually irrelevant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    r3fa4e22a r9fbdeca  
    262262        thread->uncounted =
    263263            ((flags & THREAD_FLAG_UNCOUNTED) == THREAD_FLAG_UNCOUNTED);
    264         atomic_init(&thread->priority, -1);          /* Start in rq[0] */
     264        atomic_init(&thread->priority, 0);
    265265        atomic_init(&thread->cpu, NULL);
    266266        thread->stolen = false;
Note: See TracChangeset for help on using the changeset viewer.