Skip to content
Tcl Source Code History Of Ticket 982651f5433f677a
Login

History Of Ticket 982651f5433f677a

Artifacts Associated With Ticket 982651f5433f677a

  1. Ticket change [6c3649aaea] (rid 249348) by jan.nijtmans on 2025-12-09 08:41:13:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      Examples:
      
      * [https://github.com/tcltk/tcl/actions/runs/20001593544/job/57357640381]
      
      * [https://github.com/tcltk/tcl/actions/runs/20021820910/job/57410165607]
      
      Those are the Windows builds on December 7 and 8
      
      I don't think there's something wrong with mutexes on Windows (at least not with the Tcl wrappers around the Windows API). But this testcase tests a OS implementation, whether it assigns time reasonably between threads. Tcl should not test that, it's not Tcl's responsibility, therefore I suggest to mark this testcase as "nonPortable"
      
    5. foundin initialized to: "9.1"
    6. is_private initialized to: "0"
    7. login: "jan.nijtmans"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Important"
    12. status initialized to: "Open"
    13. submitter initialized to: "jan.nijtmans"
    14. subsystem initialized to: "49. Threading"
    15. title initialized to: "mutex-condition-3 often fails on Windows"
    16. type initialized to: "Bug"
  2. Ticket change [05220aa60b] (rid 249349) by jan.nijtmans on 2025-12-09 08:41:25:

    1. assignee changed to: "apnadkarni"
    2. login: "jan.nijtmans"
    3. mimetype: "text/plain"
  3. Ticket change [0aa9d6ba85] (rid 249518) by apnadkarni on 2025-12-14 15:16:06:

    1. icomment:
      You're right in that the Microsoft documentation explicitly says there are no guarantees as to the threads that are woken up and granted the lock. And if the last run thread is the winner more often than not, it's possible the "fairness" test will fail.
      
      What I was trying to ensure for the most part that no thread gets permanently blocked. Let me see if there is a better way to verify that. Until then, I'll mark it as nonPortable.
      
    2. login: "apnadkarni"
    3. mimetype: "text/x-markdown"
  4. Ticket change [090a934384] (rid 249522) by apnadkarni on 2025-12-14 15:44:39:

    1. icomment:
      Removed the fairness check as the timeout counts are suffice to track deadlocks. Keeping open until CI runs.
      
    2. login: "apnadkarni"
    3. mimetype: "text/plain"
  5. Ticket change [2278581999] (rid 249862) by apnadkarni on 2025-12-28 02:28:10:

    1. closedate changed to: "2461037.60290273"
    2. closer changed to: "apnadkarni"
    3. login: "apnadkarni"
    4. mimetype: "text/plain"
    5. resolution changed to: "Fixed"
    6. status changed to: "Closed"