Attempt to FLOCK() with optional retries
──────────────────────────────────────────────────────────────────────────────
Syntax
GT_FilLock( nSeconds )
Arguments:
nSeconds - Number of retries - 0 to retry indefinately
Returns:
.T. if the file was locked
.F. if the file was not locked
Description:
Attempts to FLOCK the current area. If it fails, waits for a second
and tries again. After nSeconds retries it fails.
Examples:
Source: FILELOCK.PRG
Author: Martin Colloby