Ignore:
Timestamp:
Aug 14, 2017, 11:39:03 AM (4 years ago)
Author:
alain
Message:

Change Time unit from cycle to TICK (in millisecond).
Fix several bugs in VFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/thread.h

    r337 r367  
    368368 ***************************************************************************************
    369369 * @ thread    : local pointer on target thread.
    370  * @ mask      : mask on selected signal.
     370 *s released all locks @ mask      : mask on selected signal.
    371371 **************************************************************************************/
    372372inline void thread_set_signal( thread_t * thread,
     
    400400
    401401/***************************************************************************************
    402  * This function checks if the calling thread must be descheduled.
    403  ***************************************************************************************
    404  * @ returns true if no locks taken, and elapsed time.
    405  **************************************************************************************/
    406 bool_t thread_check_sched();
     402 * This function implements the delayed descheduling machanism : It is called  by
     403 * all lock release functions, and calls the sched_yield() function when all locks
     404 * have beeen released and the THREAD_FLAG_SCHED flag is set.
     405 **************************************************************************************/
     406void thread_check_sched();
    407407
    408408/***************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.