[Starkit] starpack vfs can't be accessed from thread
sgargash at comcast.net
sgargash at comcast.net
Thu Jan 4 00:24:18 CET 2007
-------------- Original message ----------------------
From: Jeff Hobbs <jeffh at activestate.com>
> sgargash at comcast.net 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
More information about the Starkit
mailing list