09-20-2003, 09:02 PM
|
#1 |
| Senior Member
Join Date: Feb 2003
Posts: 488
| 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 :/
|
| |