Lock by default, set fail on error

This commit is contained in:
Daniel J. Hofmann 2015-10-09 17:34:27 +02:00 committed by Patrick Niklaus
parent f7a1e2f652
commit 993321e971

View File

@ -104,7 +104,7 @@ int main(int argc, const char *argv[]) try
if (couldLock)
(void)munlockall();
}
bool shouldLock = false, couldLock = false;
bool shouldLock = false, couldLock = true;
} memoryLocker(lib_config.use_shared_memory);
#endif
SimpleLogger().Write() << "starting up engines, " << OSRM_VERSION;