Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ lock(2) — Unisoft V7

Media Vault

Software Library

Restoration Projects

Artifacts Sought

LOCK(2)  —  UNIX Programmer’s Manual

NAME

lock − lock a process in primary memory

SYNOPSIS

lock(flag) int flag;

DESCRIPTION

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

BUGS

Locked processes interfere with the compaction of primary memory and can cause deadlock.

7th Edition  —  2/23/82

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026