Skip to content
Tcl Source Code History Of Ticket 1628986
Login

History Of Ticket 1628986

Artifacts Associated With Ticket 1628986

  1. Ticket change [328787b43a] (rid 93629) by nobody on 2007-01-05 18:42:44:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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]"
      
      
    4. foundin initialized to: "obsolete: 8.4.14"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "nobody"
    10. subsystem initialized to: "49. Threading"
    11. title initialized to: "Threads can't access vfs from starpack"
    12. type initialized to: "Bug"
  2. Ticket change [3cb5a3bc45] (rid 120955) by dkf on 2007-01-18 18:50:09:

    1. assignee changed to: "vincentdarley"
    2. subsystem changed to: "37. File System"
  3. Ticket change [f780e88dfd] (rid 91387) by hobbs on 2007-02-09 07:56:50:

    1. closedate changed to: "2007-02-09T00:56:50"
    2. closer changed to: "hobbs"
    3. icomment:
      Logged In: YES 
      user_id=72656
      Originator: NO
      
      Fixed in boot.tcl of starpacks.
      
      
    4. login: "hobbs"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "hobbs"