Changeset 661a5ac in mainline


Ignore:
Timestamp:
2023-02-04T17:13:28Z (13 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30b56d9
Parents:
e86f568
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2022-08-14 13:28:51)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-04 17:13:28)
Message:

Use panic() instead of an infinite loop at the unreachable end of thread_exit()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    re86f568 r661a5ac  
    539539        scheduler();
    540540
    541         /* Not reached */
    542         while (true)
    543                 ;
     541        panic("should never be reached");
    544542}
    545543
Note: See TracChangeset for help on using the changeset viewer.