Description
Try to acquire a read or write lock on the table. Nothing will be
done if the table is already correctly locked by this process.
It is only needed when user locking is used.
When the lock is acquired, the internal caches will be synchronized
with the (possible changed) contents of the table.
It is possible to specify the number of attempts to do (1 per
second) in case the table is locked by another process. The default 0
is trying indefinitely.
Arguments
write |
in |
Write lock? (F=read lock) |
|
|
Allowed: |
Bool |
|
|
Default: |
T |
nattempts |
in |
Nr of attempts |
|
|
Allowed: |
Int |
|
|
Default: |
0 |