Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 73873af60fd8e573712851e40cf5ecf32d70aa8829dbdcea2a3c0fcf6d27bd74
Ticket: 893f8cc5db3ba8bd6bed80ce89a0a75c6088a37c
Nested mutexes following TIP 509
User & Date: apnadkarni on 2025-09-26 03:14:48
Changes

  1. closedate changed to: "2460944.63528722"
  2. closer changed to: "apnadkarni"
  3. icomment:
    I think it's ok although in general a compare-and-modify operation should be within a single lock. Here the comparison with systemEncoding is done outside of the mutex and so could change (from another thread) by the time the lock is obtained. Still, in this case no harm is done because even in the very unlikely case this happens, the only effect is a needless encoding change and epoch bump.
    
    So fine with me.
    
  4. login: "apnadkarni"
  5. mimetype: "text/plain"