Ignore:
Timestamp:
Jun 29, 2018, 10:44:14 AM (6 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/chdev.h

    r447 r450  
    158158 * This structure is replicated in each cluster, and is initialised during kernel init.
    159159 * It is used for fast access to a device descriptor, from type and channel for an
    160  * external peripheral, or from type and cluster for a hared internal peripheral.
     160 * external peripheral, or from type and cluster for an internal peripheral.
    161161 * - a "shared" chdev can be accessed by any thread running in any cluster.
    162162 * - a "private" chdev can only be accessed by a thread running in local cluster.
Note: See TracChangeset for help on using the changeset viewer.