Lock by default, set fail on error
This commit is contained in:
parent
f7a1e2f652
commit
993321e971
@ -104,7 +104,7 @@ int main(int argc, const char *argv[]) try
|
|||||||
if (couldLock)
|
if (couldLock)
|
||||||
(void)munlockall();
|
(void)munlockall();
|
||||||
}
|
}
|
||||||
bool shouldLock = false, couldLock = false;
|
bool shouldLock = false, couldLock = true;
|
||||||
} memoryLocker(lib_config.use_shared_memory);
|
} memoryLocker(lib_config.use_shared_memory);
|
||||||
#endif
|
#endif
|
||||||
SimpleLogger().Write() << "starting up engines, " << OSRM_VERSION;
|
SimpleLogger().Write() << "starting up engines, " << OSRM_VERSION;
|
||||||
|
Loading…
Reference in New Issue
Block a user