Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ffcdcb8152e98de1faf476b06fb34d0716d75ca2
Ticket: 962519ffffffffffffffffffffffffffffffffff
nativeFilesystemRecord comparisions invalid with threads
User & Date: vasiljevic on 2004-06-09 20:55:23
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    Hi Don!
    
    I'm the one to blame :) Sorry for not answering before
    but I was simply not able to.
    
    I will reassign this bug to myself instead of Vince.
    
    To be honest I do not really understand the point.
    The introduction of the per-thread private list was
    to get Tcl FS behave properly in therad-builds
    a) with mimumum possible lock contention
    b) w/o danger of passing Tcl_Objs between therads
    c) w/o excessive Tcl_Obj copying
    
    The code is there since 8.4 and I made it since 
    we experienced strange memory corruption when
    operating in threaded env (AOLserver project). 
    Since that change, all was fine so I'm little worried
    about abandoning the private per-thread list of 
    ergistered filesystems and per-therad copy of the
    current working dir.
    
    Now, I think you've seen that the static global
    list of registered filesystems is epoch-stamped
    and always checked against the private per-thread
    copy. This way it is assured that the private copy
    does not reflect stale data. 
    
    In case I'm missing some important part, I would
    be happy if you could elaborate little bit more on this
    topic so I can see what problems you're reffering to.
    
    Cheers,
    Zoran
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"