Ignore:
Timestamp:
Jun 29, 2018, 10:44:14 AM (4 years ago)
Author:
alain
Message:

Fix a bug in function sched_handle_signal():
When the deleted user thread is the last executed thread,
the sched->u_last field must be updated to point on another user thread.

File:
1 edited

Legend:

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

    r443 r450  
    112112
    113113/*********************************************************************************************
    114  * This function display the internal state of the local core identified by its <lid>.
     114 * This debug function displays on TXT0 the internal state of a local scheduler,
     115 * identified by the core local index <lid>.
    115116 *********************************************************************************************
    116117 * @ lid      : local index of target core.
     
    118119void sched_display( lid_t lid );
    119120
     121/*********************************************************************************************
     122 * This debug function displays on TXT0 the internal state of a scheduler,
     123 * identified by the target cluster identifier <cxy> and the core local index <lid>.
     124 * It can be called by a thread running in any cluster, as it uses remote accesses,
     125 * to scan the scheduler local lists of threads.
     126 *********************************************************************************************
     127 * @ cxy      : target cluster identifier
     128 * @ lid      : local index of target core.
     129 ********************************************************************************************/
     130void sched_remote_display( cxy_t  cxy,
     131                           lid_t  lid );
    120132
    121133#endif  /* _SCHEDULER_H_ */
Note: See TracChangeset for help on using the changeset viewer.