add some comment to datastore
This commit is contained in:
parent
36c0edea2a
commit
48da2d2dfb
@ -107,6 +107,7 @@ int main(const int argc, const char *argv[])
|
|||||||
SharedBarriers barrier;
|
SharedBarriers barrier;
|
||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
// try to disable swapping on Linux
|
||||||
const bool lock_flags = MCL_CURRENT | MCL_FUTURE;
|
const bool lock_flags = MCL_CURRENT | MCL_FUTURE;
|
||||||
if (-1 == mlockall(lock_flags))
|
if (-1 == mlockall(lock_flags))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user