Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b30b89fffe67a9584524fadd29f91080bd9e3e79f2713ed863e2786710e7e264
Ticket: 61c01e0edb08a9ed905aefdf17ce113da303c77b
likely race condition with package require in several threads causing error
User & Date: anonymous on 2025-07-22 01:26:54
Changes

  1. closedate changed to: "2460878.56035657"
  2. closer changed to: "anonymous"
  3. icomment:
    Success!
    
    I did a download of tcl and tk from https://core.tcl-lang.org/tcl/zip/trunk and built from source with visual studio 2022. I copied the .exe and .dll's into a magicsplat 9.0.2. distro (as wish91.exe etc.).
    
    I verified the source code I downloaded included Sergey's fixes.
    
    It ran flawlessly. 
    
    I ran with 25 threads each run, 13,000 runs over a few hours, and NO failures. I think this is a huge success with the package require in a thread problem.
    
    I double checked by running the old version, and with 25 threads, it would on average get 4 thread failures in pretty much every run.
    
    Many Thanks to Sergey!
    
  4. login: "anonymous"
  5. mimetype: "text/plain"