Changeset 466 in flair-src for trunk/lib/FlairCore/src


Ignore:
Timestamp:
Mar 9, 2022, 10:29:38 AM (3 years ago)
Author:
Sanahuja Guillaume
Message:

unlock memory in simulator to avoid mmap problems when running simulator as non root

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/FrameworkManager_impl.cpp

    r424 r466  
    109109
    110110  // Avoids memory swapping for this program
     111  // GL simulator will unlock memory, otherwise it can cause problems when running simlator as non root
    111112  mlockall(MCL_CURRENT | MCL_FUTURE);
    112113
Note: See TracChangeset for help on using the changeset viewer.