Ignore:
Timestamp:
Jul 31, 2017, 1:59:52 PM (7 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/chdev.c

    r23 r296  
    129129    // client thread goes to blocked state and deschedule
    130130    thread_block( thread_ptr , THREAD_BLOCKED_IO );
    131     sched_yield();
     131    sched_yield( NULL );
    132132
    133133}  // end chdev_register_command()
     
    162162            // block and deschedule
    163163            thread_block( server , THREAD_BLOCKED_DEV_QUEUE );
    164             sched_yield();
     164            sched_yield( NULL );
    165165        }
    166166        else
Note: See TracChangeset for help on using the changeset viewer.