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/syscalls/sys_read.c

    r446 r450  
    199199        }
    200200
    201 printk("\n###### in %s : thread %x in process %x got TXT_RX ownership\n",
    202 __FUNCTION__, this->trdid, process->pid );
    203                
    204201        // move count bytes from device
    205202        nbytes = devfs_user_move( true,             // from device to buffer
Note: See TracChangeset for help on using the changeset viewer.