aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/mlock.h
diff options
context:
space:
mode:
authordmasloff <dmasloff@yandex-team.com>2024-08-17 23:33:42 +0300
committerdmasloff <dmasloff@yandex-team.com>2024-08-17 23:43:45 +0300
commit69340f4614e853b9319df4b454ab7497711ee3cd (patch)
tree9902a3e2f58fe0bd9a157e7b51ad1cc52efa5744 /util/system/mlock.h
parenta905b53ec410defd5d2c40031ef8b34bb50a29f8 (diff)
downloadydb-69340f4614e853b9319df4b454ab7497711ee3cd.tar.gz
Set SpacesInLineCommentPrefix to 1 in /util
Set SpacesInLineCommentPrefix to 1 in /util 3853f9ec5143722c1bebd8dc0ffc9b61a6c17657
Diffstat (limited to 'util/system/mlock.h')
-rw-r--r--util/system/mlock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/mlock.h b/util/system/mlock.h
index 41a9e4457e..7fe36095f9 100644
--- a/util/system/mlock.h
+++ b/util/system/mlock.h
@@ -4,11 +4,11 @@
#include <util/generic/flags.h>
-//on some systems (not win, freebd, linux, but darwin (Mac OS X)
-//multiple mlock calls on the same address range
-//require the corresponding number of munlock calls to actually unlock the pages
+// on some systems (not win, freebd, linux, but darwin (Mac OS X)
+// multiple mlock calls on the same address range
+// require the corresponding number of munlock calls to actually unlock the pages
-//on some systems you must have privilege and resource limit
+// on some systems you must have privilege and resource limit
void LockMemory(const void* addr, size_t len);
void UnlockMemory(const void* addr, size_t len);