Changeset 462


Ignore:
Timestamp:
Aug 18, 2018, 2:51:41 AM (3 years ago)
Author:
viala@…
Message:

FIX: Add a spinlock_init on sheduler->lock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/scheduler.c

    r457 r462  
    5757    sched->u_last         = NULL;               // initialized in sched_register_thread()
    5858    sched->k_last         = NULL;               // initialized in sched_register_thread()
     59    spinlock_init(&sched->lock);
    5960
    6061    // initialise threads lists
Note: See TracChangeset for help on using the changeset viewer.