[Starkit] starpack vfs can't be accessed from thread
Jeff Hobbs
jeffh at activestate.com
Wed Jan 3 08:57:48 CET 2007
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.
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
More information about the Starkit
mailing list