Commit | Line | Data |
---|---|---|
6ebc7da6 TL |
1 | .TH LOCK 2 local |
2 | .SH NAME | |
3 | lock \- lock a process in primary memory | |
4 | .SH SYNOPSIS | |
5 | .B lock(flag) | |
6 | .SH DESCRIPTION | |
7 | If the | |
8 | .I flag | |
9 | argument is non-zero, | |
10 | the process executing this call | |
11 | will not be swapped except if it is required | |
12 | to grow. | |
13 | If the argument is zero, | |
14 | the process is | |
15 | .RI un lock ed. | |
16 | This call may only be executed by | |
17 | the super-user. | |
18 | .SH BUGS | |
19 | .IR Lock ed | |
20 | processes interfere with the compaction of primary memory | |
21 | and can cause deadlock. | |
22 | This system call is not considered | |
23 | a permanent part of the system. | |
24 | .SH ASSEMBLER | |
25 | (lock = 53.) | |
26 | .br | |
27 | .B sys lock; flag |