VMS Help  —  RTL Routines, PPL$  PPL$CREATE_SPIN_LOCK, Arguments
 lock-id

    OpenVMS usage identifier
    type          longword (unsigned)
    access        write only
    mechanism     by reference
    Identifier of the newly created lock. The lock-id argument is the
    address of an unsigned longword containing the lock identifier.
    You must use lock-id when getting or freeing the lock.

 lock-name

    OpenVMS usage char_string
    type          character string
    access        read only
    mechanism     by descriptor
    Name of the lock. The lock-name argument is the address of a
    descriptor pointing to a character string containing the name.
    The name of the lock is entirely arbitrary. If you do not specify
    this argument, or if you specify 0, an unnamed lock is created.
    An arbitrary number of unnamed locks can be created by a given
    application.
Close Help