useMlock property
bool?
get
useMlock
Indicates whether memory locking (mlock) should be used.
When true
, the memory used by the application will be locked,
preventing it from being swapped out to disk. This can improve
performance by ensuring that the memory remains in RAM.
When false
or null
, memory locking is not used.
Implementation
bool? get useMlock => _useMlock;
set
useMlock
(bool? value)
Implementation
set useMlock(bool? value) {
_useMlock = value;
notifyListeners();
}