Artifacts Associated With Ticket 1628986
Ticket change [328787b43a] (rid 93629) by nobody on 2007-01-05 18:42:44:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
As of 8.4.14, there is a chicken-and-egg problem with threads and the starpack vfs. Threads now must explicitly mount any vfs's that they wish to use, as the mounts are no longer implicilty shared. In order for a thread to mount a vfs, it must package require the appropriate vfs package. However in the case of a starpack, the package needed to mount the starpack's vfs (vfs::mk4) is in the starpack itself. The following files built into a starpack demonstrate the problem. ======= file: test.vfs/main.tcl package require starkit starkit::startup package require Thread set foo [file join [info nameofexecutable] foo.tcl] source $foo set t [thread::create {thread::wait}] # thread::send $t { #what goes here to give the thread access foo.tcl located in the starpack's vfs" } thread::send $t [list source $foo] ======= file: test.vfs/foo.tcl puts "hello world from [thread::id]" - foundin initialized to: "obsolete: 8.4.14"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "49. Threading"
- title initialized to: "Threads can't access vfs from starpack"
- type initialized to: "Bug"
Ticket change [3cb5a3bc45] (rid 120955) by dkf on 2007-01-18 18:50:09:
- assignee changed to: "vincentdarley"
- subsystem changed to: "37. File System"
Ticket change [f780e88dfd] (rid 91387) by hobbs on 2007-02-09 07:56:50:
- closedate changed to: "2007-02-09T00:56:50"
- closer changed to: "hobbs"
- icomment:
Logged In: YES user_id=72656 Originator: NO Fixed in boot.tcl of starpacks.
- login: "hobbs"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "hobbs"