Create a lock file Lock_File_Name in directory Directory. If the file
cannot be locked because someone already owns the lock, this procedure
waits Wait seconds and retries at most Retries times. If the file
still cannot be locked, Lock_Error is raised. The default is to try
every second, almost forever (Natural'Last times).
|