[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    LockRecords -- Lock a series of records (V36)

SYNOPSIS
    success = LockRecords(record_array,timeout)
    D0                       D1           D2

    BOOL LockRecords(struct recordlock *,ulong)

FUNCTION
    This locks several records within a file for exclusive access.
    Timeout is how long to wait in ticks for the records to be available.
    The wait is applied to each attempt to lock each record in the list.
    It is recommended that you always lock a set of records in the same
    order to reduce possibilities of deadlock.

    The array of recordlock structures is terminated by an entry with
    rec_FH of NULL.

INPUTS
    record_array - list of records to be locked
    timeout      - Timeout interval.  0 is legal

RESULT
    success      - Success or failure

BUGS
    See lockrecord()

SEE ALSO
    lockrecord(), unlockrecord(), unlockrecords()