Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

LockRecords64

Lock several records at the same time.

Declaration

Source position: amigados.pas line 2296

function LockRecords64(

  RecArray: TRecordLock64;

  TimeOut: LongWord

):LongInt;

Arguments

RecArray

  

array of records to lock

TimeOut

  

maximum number of ticks to wait for a lock to be ready

Description

The timeout specified is applied to each lock to attempt. The array of RecordLock:s is terminated with an entry where rec_FH is equal to nil.

A set of records should always be locked in the same order so as to reduce possiblities of deadlock.

See also

UnLockRecords64

  

Release an array of record locks obtained with LockRecords64().


Documentation generated on: 2021-07-30