POSIX Process Memory Locking option.
More...
|
| #define | MCL_CURRENT 0 |
| | Lock all currently mapped pages into memory.
|
| |
| #define | MCL_FUTURE 1 |
| | Lock all future mappings into memory.
|
| |
|
| int | mlockall (int flags) |
| | Lock all current and/or future memory mappings of the calling process.
|
| |
| int | munlockall (void) |
| | Unlock all memory locked by the calling process.
|
| |
POSIX Process Memory Locking option.
◆ MCL_CURRENT
Lock all currently mapped pages into memory.
Definition at line 54 of file mman.h.
◆ MCL_FUTURE
Lock all future mappings into memory.
Definition at line 56 of file mman.h.
◆ mlockall()
| int mlockall |
( |
int |
flags | ) |
|
◆ munlockall()