mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
common: add a class to safely wrap mlock/munlock
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.
This commit is contained in:
parent
e9ffa91257
commit
70271fa788
6 changed files with 464 additions and 1 deletions
|
@ -53,6 +53,7 @@ set(unit_tests_sources
|
|||
http.cpp
|
||||
main.cpp
|
||||
memwipe.cpp
|
||||
mlocker.cpp
|
||||
mnemonics.cpp
|
||||
mul_div.cpp
|
||||
multisig.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue