1
0
Fork 0

Add signal handler.

This commit is contained in:
Willi Goesgens 2015-02-13 14:44:21 +01:00
parent f02de55304
commit 154882ae5f
1 changed files with 3 additions and 0 deletions

View File

@ -108,6 +108,7 @@ static void TRI_GlobalEntryFunction () {
int maxOpenFiles = 2048; // upper hard limit for windows
int res = 0;
// Uncomment this to call this for extended debug information.
// If you familiar with valgrind ... then this is not like that, however
// you do get some similar functionality.
@ -420,6 +421,8 @@ int main (int argc, char* argv[]) {
int res = 0;
bool startAsService = false;
signal(SIGSEGV, abortHandler);
#ifdef _WIN32
if (1 < argc) {