Added option --no-huge-pages.

This commit is contained in:
XMRig 2017-08-16 14:21:12 +03:00
parent 27f02d5f9f
commit 8bba0df054
6 changed files with 28 additions and 5 deletions

View file

@ -44,7 +44,7 @@ public:
Lock = 4
};
static bool allocate(int algo, int threads, bool doubleHash);
static bool allocate(int algo, int threads, bool doubleHash, bool enabled);
static cryptonight_ctx *create(int threadId);
static void *calloc(size_t num, size_t size);
static void release();