catch uncaught exception
This commit is contained in:
parent
7e0b19c43d
commit
ecff2beafa
@ -93,10 +93,10 @@ void delete_region(const SharedDataType region)
|
|||||||
int main(const int argc, const char *argv[])
|
int main(const int argc, const char *argv[])
|
||||||
{
|
{
|
||||||
LogPolicy::GetInstance().Unmute();
|
LogPolicy::GetInstance().Unmute();
|
||||||
SharedBarriers barrier;
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
SharedBarriers barrier;
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
// try to disable swapping on Linux
|
// try to disable swapping on Linux
|
||||||
const bool lock_flags = MCL_CURRENT | MCL_FUTURE;
|
const bool lock_flags = MCL_CURRENT | MCL_FUTURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user