aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-10-24 14:03:14 -0400
committerJack Lloyd <[email protected]>2016-10-24 14:03:14 -0400
commitb2b6bf6f57824eabd9617262f91d0d4f26d3b6e0 (patch)
tree3fed28660182d6de0c74c606d3e8453462735f71
parent0db9225889ea01eb7fd7ad5284ff788ec8e45b53 (diff)
Limit locking_allocator only to OSes that even might support it.
The pool allocator itself is portable code, but it doesn't do anything useful unless we have the ability to mlock/VirtualLock memory, which is OS specific.
-rw-r--r--src/lib/utils/locking_allocator/info.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/utils/locking_allocator/info.txt b/src/lib/utils/locking_allocator/info.txt
index c815bdbcc..0831fddb6 100644
--- a/src/lib/utils/locking_allocator/info.txt
+++ b/src/lib/utils/locking_allocator/info.txt
@@ -1 +1,9 @@
define LOCKING_ALLOCATOR 20131128
+
+<os>
+linux
+freebsd
+openbsd
+netbsd
+windows
+</os>