Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7116164c0d9ed415a7dcdcb62b7aad25f9215fe8d3a484dd841ad64dd1346ebf
Ticket: 39fed4dae51e4fd7f1abf6baf3ba094a072b8beb
Tcl_PkgRequireEx, Tcl_InitStubs broken in 8.6.9
User & Date: sebres on 2019-03-07 10:51:10
Changes

  1. icomment:
    > If multiple threads muggle with the internal rep of a Tcl_Obj...
    
    Where it can be shared across threads, Jan?
    Package structure is hashed per interpreter at the moment (iPtr->packageTable, and pkgPtr is supplied via clientDataPtr inside NRE-calbacks).<br/>
    Otherwise I guess several primitives in tclPkg should get synchronization protection (mutex/atomic/etc), what is not the case here. So you'll get another issues if you share this across threads.
    
    Therefore I'd prefer Don's solution.
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"