Ignore:
Timestamp:
Jul 31, 2017, 1:59:52 PM (4 years ago)
Author:
alain
Message:

Several modifs in the generic scheduler and in the hal_context to
fix the context switch mechanism.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/remote_spinlock.c

    r101 r296  
    178178                {
    179179                        hal_restore_irq( mode );
    180                         if( thread_can_yield() ) sched_yield();
     180                        if( thread_can_yield() ) sched_yield( NULL );
    181181                        hal_disable_irq( &mode );
    182182                        continue;
Note: See TracChangeset for help on using the changeset viewer.