mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-20 01:45:07 -04:00
os: refactor/rewrite entire namespace.
This commit is contained in:
parent
6193283f03
commit
065485b971
181 changed files with 5353 additions and 1929 deletions
|
@ -19,15 +19,17 @@
|
|||
namespace ams::fatal::srv {
|
||||
|
||||
class FatalEventManager {
|
||||
private:
|
||||
NON_COPYABLE(FatalEventManager);
|
||||
NON_MOVEABLE(FatalEventManager);
|
||||
public:
|
||||
static constexpr size_t NumFatalEvents = 3;
|
||||
|
||||
private:
|
||||
os::Mutex lock;
|
||||
size_t num_events_gotten = 0;
|
||||
Event events[NumFatalEvents];
|
||||
os::SystemEventType events[NumFatalEvents];
|
||||
public:
|
||||
FatalEventManager();
|
||||
Result GetEvent(Handle *out);
|
||||
Result GetEvent(const os::SystemEventType **out);
|
||||
void SignalEvents();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue