Skip to content
Commit 073442ec authored by Allan Stephens's avatar Allan Stephens Committed by Benjamin Walsh
Browse files

kernel: Treat aborting by main() as a fatal system error



An application-supplied main() routine is now considered to be
essential to system operation. Thus, if main() experiences an
error that aborts the main thread a fatal system error is raised.

Note: If main() completes its work and does a standard return-
to-caller the main thread terminates normally.

Change-Id: Icc9499f13578299244a856a246ad2a7d34a72f54
Signed-off-by: default avatarAllan Stephens <allan.stephens@windriver.com>
parent 40325d2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment