Re: starpack vfs can't be accessed from thread
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <010420070024.719.459C493200028F2E000002CF2200745672089C0E099D0E099C@comcast.net> |
-------------- Original message ---------------------- From: Jeff Hobbs <[email protected]> > [email protected] wrote: > > Hmm...but the child thread can't mount the vfs since (I believe) the > > vfs package is located in the vfs that it can't access. > > As with all packages, once loaded in any interp, they are available > statically to all others. Thanks for the tip, but do you mean libraries are available (instead of packages)? Unless I'm missing something, it seems that there's a chicken and egg problem. In order to mount the vfs in the child thread, I need also to "package require vfs::mk4", yet I can't require that package until after I've mounted the vfs. Although the whole pack/vfs system strongly resembles magic to me, so I may be missing something basic. Scott