resource +lock -unlock <filename> ?
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 :/
|