Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 479e673dacd5162e916fa477e3d459996d777b5fc5f4121441d4f97f68ee6cc7
Ticket: 893f8cc5db3ba8bd6bed80ce89a0a75c6088a37c
Nested mutexes following TIP 509
User & Date: jan.nijtmans on 2025-09-17 09:51:39
Changes

  1. icomment:
    The only reason Christian's patch is not merged to 9.0 (and trunk) yet is because Ashok (in the telco) requested time to review.
    
    In the mean time, I saw sebres' branch (sebres--non-reentrant-mutex), undoing all of TIP #509, which - as far as I know - is not something we agreed upon already.
    
    I'm convinced we need to do something, since - in the mean time - it also turned out that linux recursive mutexes have performance problems. Christian's patch has my preference.
    
    So I propose to merge the "893f8cc5-tip509-nested-mutex" branch to 9.0 and trunk. That solves the linux performance problem, and it keeps recursive mutexes usable as described in TIP #509 . It probably won't work well with UNIX signals, but's that's a tricky issue in Tcl anyway.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"