Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

LLKOB

ULKOB

5.0;lkob (lock_object), revision 5.0, 83/08/24
LKOB (LOCK_OBJECT) -- Lock an object.
usage:  LKOB pathname... [-R|-W|-I|-R2W|-R2RIW|-W2R|-W2RIW] {CL}


FORMAT

  LKOB pathname [options]


  LKOB  locks  the  specified object. The locking constraint is "n readers XOR 1
  writer".

  LKOB is primarily used for system-level debugging.

  To list locked objects, use LLKOB (LIST_LOCKED_OBJECTS).  To unlock an object,
  use ULKOB (UNLOCK_OBJECT).


ARGUMENTS

  pathname
  (required)         Specify object  to  be  locked.    Multiple  pathnames  and
                     wildcarding are permitted.


OPTIONS

  Default options are indicated by "(D)."

  -R           (D)   Lock the object for reading.

  -W                 Lock the object for writing.

  -I                 Lock the object for reading, with intent to write.

  -R2W                Change  the  lock  mode  of  the  object  from  "read"  or
                     "read-intend-write" to "write".

  -R2RIW              Change  the  lock  mode  of  the  object  from  "read"  to
                     "read-intend-write".

  -W2R               Change the lock mode of the object from "write" to "read".

  -W2RIW              Change  the  lock  mode  of  the  object  from  "write" to
                     "read-intend-write".

  This command uses the command line parser, and so also  accepts  the  standard
  command options listed in HELP CL.


EXAMPLES

    $ lkob susan -w           Lock file "susan" for writing.


RELATED TOPICS

  More information is available.  Type:

  - HELP LLKOB
    for details about listing locked objects.

  - HELP ULKOB
    for details about unlocking locked objects.

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