aboutsummaryrefslogtreecommitdiff
path: root/tests/unit_tests/mlocker.cpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-08-23unit_tests: disable mlocker tests on windows (no implementation)moneromooo-monero1-0/+8
2018-08-16common: add a class to safely wrap mlock/munlockmoneromooo-monero1-0/+186
This class will allow mlocking small objects, of which there may be several per page. It adds refcounting so pages are only munlocked when the last object on that page munlocks.