30 static void Exit(
int exitCode);
32 static void Error(
const char* error);
34 static void DebugOut(
const char* msg);
38 static void Sleep(
double sec);
ExitHandlers are static objects which register themselves automatically once at startup and are calle...
Definition exithandler.h:22
Provides Posix specific helper functions.
Definition posixsysfunc.h:25
static const Core::ExitHandler * RegisterExitHandler(const Core::ExitHandler *exitHandler)
register an exit handler which will be called from within Exit()
Definition posixsysfunc.cc:158
static void Error(const char *error)
display an error message box
Definition posixsysfunc.cc:112
static const Core::ExitHandler * ExitHandlers
Definition posixsysfunc.h:46
static void MessageBox(const char *msg)
display a message box which needs to be confirmed by the user
static void Exit(int exitCode)
exit process, and to proper cleanup, memleak reporting, etc...
Definition posixsysfunc.cc:73
static void Setup()
setup lowlevel static objects (must be called before spawning any threads)
Definition posixsysfunc.cc:41
static bool volatile SetupCalled
Definition posixsysfunc.h:45
static void DebugOut(const char *msg)
print a message on the debug console
Definition posixsysfunc.cc:144
static System::SystemInfo systemInfo
Definition posixsysfunc.h:47
static void Sleep(double sec)
sleep for a specified amount of seconds
Definition posixsysfunc.cc:133
Provides information about the host system.
Posix implemention of a read-many write-few lock.
Definition posixsysfunc.cc:21
Definition osxsysfunc.h:15