Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does auto_mkindex lock the tclIndex file?

Status
Not open for further replies.

mnshaw

Technical User
Sep 22, 2009
1
US
I have a situation where multiple (6-15) users will be accessing a Tcl library, and I want to use Welch's Library_UpdateIndex() (p. 177 of Practical Programming in Tcl and Tk, 4th ed.) to keep the tclIndex file up to date.

I doubt I'll ever have a collision, but just in case: does auto_mkIndex lock this file, and respect other process's locks?

Thanks
 
You don't seem to be getting an answer from anyone who knows so I'll try.

I don't use auto_mkIndex much any more but I used to. At that time, I never noticed any bad behavior with regard to holding or releasing tclIndex. I suggest you try it and see if you can detect any problems.

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top