From: Jamie C. <jca...@we...> - 2002-09-15 09:35:47
|
jam...@te... wrote: > Hi Jamie, > > If you call &error without explicitly calling unlock_file(), will locks > created > by lock_file be released? I looked at the code and it was not readily > apearant > that this was the case, but I could have missed something. No, they won't .. however, because the lock files contain the PID of the process that created them, as soon as it exits they will effectively be unlocked. However, it is probably better for the &error function to call &unlock_all_files, so that useless .lock files aren't left hanging around. - Jamie |