1LOCK(2)                       System Calls Manual                      LOCK(2)
2
3
4

NAME

6       lock - lock a process in primary memory
7

SYNOPSIS

9       lock(flag)
10

DESCRIPTION

12       If  the flag argument is non-zero, the process executing this call will
13       not be swapped except if it is required to grow.  If  the  argument  is
14       zero,  the  process is unlocked.  This call may only be executed by the
15       super-user.
16

BUGS

18       Locked processes interfere with the compaction of  primary  memory  and
19       can  cause  deadlock.   This  system call is not considered a permanent
20       part of the system.
21

ASSEMBLER

23       (lock = 53.)
24       sys lock; flag
25
26
27
28                                     local                             LOCK(2)
Impressum