summaryrefslogtreecommitdiff
path: root/tests/unit_tests/mlocker.cpp
Commit message (Collapse)AuthorAgeFilesLines
* unit_tests: add check for page size > 0 before dividingmoneromooo-monero2018-09-271-0/+1
| | | | Coverity 188426
* unit_tests: use std::shared_ptr to shut coverity up about leaksmoneromooo-monero2018-09-271-34/+34
| | | | | | Coverity 188436, 188433, 188428, 188415, 188416, 188410, 188400, 188298, 188299, 188321, 188342, 188343, 188355, 188357, 188361, 188366, 188374
* unit_tests: disable mlocker tests on windows (no implementation)moneromooo-monero2018-08-231-0/+8
|
* common: add a class to safely wrap mlock/munlockmoneromooo-monero2018-08-161-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.