Lock several records at the same time.
Source position: amigados.pas line 2296
function LockRecords64( |
RecArray: TRecordLock64; |
TimeOut: LongWord |
):LongInt; |
RecArray |
|
array of records to lock |
TimeOut |
|
maximum number of ticks to wait for a lock to be ready |
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.
|
Release an array of record locks obtained with LockRecords64(). |