b>d>>s
09-20-2003, 09:02 PM
i need some help on this,
i want to lock a file while im working on it via a itcl script, of which there will be multiple instances of zs trying to access it (so theyll need to check access, etc.).
so i do:
resource +lock "filename" ; set $filename [open $file w]
?
then -unlock "filename" on exit. ?
any help plz :/
i want to lock a file while im working on it via a itcl script, of which there will be multiple instances of zs trying to access it (so theyll need to check access, etc.).
so i do:
resource +lock "filename" ; set $filename [open $file w]
?
then -unlock "filename" on exit. ?
any help plz :/