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/kern/core.c

    r279 r296  
    115115
    116116        // handle scheduler TODO  improve the scheduling condition ... AG
    117         if( (ticks % 10) == 0 ) sched_yield();
     117        if( (ticks % 10) == 0 ) sched_yield( NULL );
    118118
    119119        // update DQDT TODO  This update should depend on the cluster identifier,
Note: See TracChangeset for help on using the changeset viewer.