Changeset b79207d in mainline for kernel/generic/src/console


Ignore:
Timestamp:
2019-07-18T17:19:02Z (6 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Parents:
bb580548
Message:

Create abort_shutdown function

The piece of code which destroyed the thread used
by shutdown has been refractoried to it's own function.
This method will be called in the kernel console to ensure
that there is no weird threading behaviour

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/cmd.c

    rbb580548 rb79207d  
    880880int cmd_reboot(cmd_arg_t *argv)
    881881{
     882        abort_shutdown();
    882883        reboot();
    883884
     
    11251126int cmd_halt(cmd_arg_t *argv)
    11261127{
     1128        abort_shutdown();
    11271129        halt();
    11281130        return 1;
Note: See TracChangeset for help on using the changeset viewer.