Re: starpack vfs can't be accessed from thread
Jeff Hobbs <[email protected]>
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[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. hobbit [~] 4 % /Library/Tcl/basekits/base-tcl-thread-macosx-universal % package require Thread 2.6.5 % set t [thread::create {thread::wait}] tid0x1804e00 % package require vfs 1.3 % thread::send $t {load {} vfs} % thread::send $t {package names} Thread tclkitpath zlib vfs Mk4tcl Tcl Jeff