that ought to do it

This commit is contained in:
DarthArgus
2017-01-10 19:10:54 -06:00
parent ce2928cc7e
commit 7e32c55149
3 changed files with 57 additions and 53 deletions
+5
View File
@@ -9,6 +9,7 @@
#include <unistd.h>
#include <limits.h>
#include <libgen.h>
#include <signal.h>
#include "webAPI.h"
#include "../libLeff/libLeff.h"
@@ -35,8 +36,12 @@ namespace StellaBellum {
for (;;) {
abort();
sleep(10);
raise(SIGSEGV);
}
}
inline void setLastStatTime(){
raise(SIGSEGV);
}
};