Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8b14f4c6c18f44fca6008c3625f535824904499c80aa9a686828c1272b91b6d5
Ticket: 0f439992eff158ca991ee191f89a6bd4c4eb51e9
Checking data consistency for unlocking of mutexes
User & Date: sebres on 2019-05-06 13:01:38
Changes

  1. closedate changed to: "2458610.0428065"
  2. closer changed to: "sebres"
  3. icomment:
    > My expectations might be different for these usage constraints.
    
    It does no matter what your expectations are here if you basically don't understand how mutex or tsv are working...
    
    If your script running multi-threaded and two threads write a tsv variable, one of that will overwrite the value with another mutex-handle sooner or later.
    
    If you don't know how the mutex basically work use another locking mechanisms e. g. tsv::lock.
    If you want still do that what you are trying to do in your perform_command, you MUST guarantee that in ALL threads you'll use still the same mutex handle (and I wrote already a proper example for that).
    
    And again, this is a wrong repository for the thread-package issues. 
    So please let the ticket closed and reopen your concerns in the thread-repo.
    
  4. login: "sebres"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"