View Single Post
Old 09-20-2003, 09:02 PM  
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Unhappy 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 :/
b>d>>s is offline