mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
throw exception if memory intialization fails
This commit is contained in:
parent
c4ab3cbbcb
commit
70dd9aeafc
1 changed files with 4 additions and 1 deletions
|
@ -386,7 +386,10 @@ void SuperNode::start()
|
|||
|
||||
assert(state == STATE_CHECKED);
|
||||
|
||||
memory_init(hugepages);
|
||||
ret = memory_init(hugepages);
|
||||
if (ret)
|
||||
throw RuntimeError("Failed to initialize memory system");
|
||||
|
||||
kernel::rt::init(priority, affinity);
|
||||
|
||||
#ifdef WITH_API
|
||||
|
|
Loading…
Add table
Reference in a new issue