diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-03 18:32:05 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-03 20:09:28 +0000 |
commit | 177a9d76f99ce259598f85f99b1d2ecf77a7fdd2 (patch) | |
tree | 8454656b13eb6376ab8599c066c8b7815efb94e6 /src/common/util.h | |
parent | Merge pull request #4676 (diff) | |
download | monero-177a9d76f99ce259598f85f99b1d2ecf77a7fdd2.tar.xz |
wallet: warn if lockable memory limit is too low
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h index e793a42b5..1c5c5f4e7 100644 --- a/src/common/util.h +++ b/src/common/util.h @@ -221,6 +221,8 @@ namespace tools void set_strict_default_file_permissions(bool strict); + ssize_t get_lockable_memory(); + void set_max_concurrency(unsigned n); unsigned get_max_concurrency(); |