AuroraRuntime/Source/Exit/Exit.hpp
J Reece Wilson 1c78c18997 [+] Exit::CancelExit()
[*] Treat SIGTERM the same as SIGINT. SIGINT is somewhat of an arachic signal meaning, "hey dumb unix app, fuck the process group, start reading from stdin to listen to the user." Nowadays, this doesn't mean anything other than "hey, a human asked us to terminate from a TTY" - basically the same as SIGTERM, except SIGTERM is more likely to be a scheduled or otherwise expected shutdown event.
2022-04-07 06:22:50 +01:00

18 lines
346 B
C++

/***
Copyright (C) 2022 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Exit.hpp
Date: 2022-2-5
Author: Reece
***/
#pragma once
namespace Aurora::Exit
{
inline bool gHasCanceled {false};
void PostLevel(AuThreads::IAuroraThread *thread, ETriggerLevel level);
void InitExit();
void DeinitExit();
}