mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-10 00:00:19 +02:00
It can be useful to know in tooling when the current active FEXServer has exited. Two things can happen when this command is run. No FEXServer is active, returns immediately. A FEXServer is active, we query for a pidfd from the active server, then we wait until it exits. Both instances of this is valid to use.
14 lines
230 B
C++
14 lines
230 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace FEXServer::Config {
|
|
struct FEXServerOptions {
|
|
bool Kill;
|
|
bool Foreground;
|
|
bool Wait;
|
|
uint32_t PersistentTimeout;
|
|
};
|
|
|
|
FEXServerOptions Load(int argc, char **argv);
|
|
}
|