pm: use fixed-sized buf + scoped lock (gcc 8.3 compat)
This commit is contained in:
@@ -20,6 +20,8 @@
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
class ProcessList;
|
||||
|
||||
#define LAUNCHFLAGS_NOTIFYWHENEXITED(flags) (flags & 1)
|
||||
#define LAUNCHFLAGS_STARTSUSPENDED(flags) (flags & (kernelAbove500() ? 0x10 : 0x2))
|
||||
#define LAUNCHFLAGS_ARGLOW(flags) (kernelAbove500() ? ((flags & 0x14) != 0x10) : (kernelAbove200() ? ((flags & 0x6) != 0x2) : ((flags >> 2) & 1)))
|
||||
@@ -171,7 +173,7 @@ class Registration {
|
||||
|
||||
static void InitializeSystemResources();
|
||||
static IWaitable *GetProcessLaunchStartEvent();
|
||||
static std::unique_lock<HosRecursiveMutex> GetProcessListUniqueLock();
|
||||
static ProcessList &GetProcessList();
|
||||
static Result ProcessLaunchStartCallback(u64 timeout);
|
||||
|
||||
static Result HandleSignaledProcess(std::shared_ptr<Process> process);
|
||||
@@ -201,3 +203,4 @@ class Registration {
|
||||
static bool HasApplicationProcess(std::shared_ptr<Process> *out);
|
||||
};
|
||||
|
||||
#include "pm_process_wait.hpp"
|
||||
|
||||
Reference in New Issue
Block a user