PDA

View Full Version : resource +lock -unlock <filename> ?


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 :/

darkone
09-21-2003, 05:49 AM
I removed resource lock in early b4, as code for it was a mess & noone was using it.

b>d>>s
09-21-2003, 08:15 AM
o