diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-08-22 13:39:21 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-08-23 06:55:35 +0200 |
| commit | 0b886ad1bda23c01a68d0ebeac9ec480ca5690fd (patch) | |
| tree | 91ab9f3d614af27d73e6e8266bd2249495a7ed62 /src/init.cpp | |
| parent | Handle locked pages more robustly (Fixes issue #1462) (diff) | |
| download | discoin-0b886ad1bda23c01a68d0ebeac9ec480ca5690fd.tar.xz discoin-0b886ad1bda23c01a68d0ebeac9ec480ca5690fd.zip | |
Make CCrypter use LockedPageManager to manage locked pages
Replace direct calls to mlock.
Also, change the class to lock the memory areas in the constructor and unlock them again in the destructor. This makes sure that locked pages won't leak.
Diffstat (limited to 'src/init.cpp')
0 files changed, 0 insertions, 0 deletions