Changeset 450 for trunk/kernel/syscalls


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.

Location:
trunk/kernel/syscalls
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/sys_display.c

    r445 r450  
    193193        else
    194194        {
    195             rpc_sched_display_client( cxy , lid );
     195            sched_remote_display( cxy , lid );
    196196        }
    197197    }
  • 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.