Разблокировать адресное пространство процесса
#include <sys/mman.h>int munlockall( void );
libc
The munlockall() function unlocks all the currently mapped pages of the address space of the calling process. You can lock memory by calling mlock() or mlockall().
Any pages that become mapped into the address space of the process after it calls munlockall() aren't locked, unless there's an intervening call to mlockall() specifying MCL_FUTURE
or a subsequent call to mlockall() specifying MCL_CURRENT
.
Calling this function doesn't affect any memory locks set by other processes on the pages.
0
.
POSIX 1003.1 ML
mlock(), munlock(), mlockall()
Предыдущий раздел: Описание API системной библиотеки