Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

Unix Version 7 - man page for lock (v7 section 2)

LOCK(2) 			       System Calls Manual				  LOCK(2)

NAME
       lock - lock a process in primary memory

SYNOPSIS
       lock(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.
       This system call is not considered a permanent part of the system.

ASSEMBLER
       (lock = 53.)
       sys lock; flag

					      local					  LOCK(2)


All times are GMT -4. The time now is 07:14 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password