Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a04f904bda6e8e170560f8f1bfd8c46d54611b5d
Ticket: 674367ffffffffffffffffffffffffffffffffff
call for a function that is not thread safe
User & Date: vasiljevic on 2003-07-14 01:36:25
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    Your assumption about mutexes is wrong. Mutex handles 
    can be shared among threads since very nature of the 
    mutex is to synchronize access from many threads. 
    So, handles to mutexes created with tnread::mutex create 
    can be left in thread shared arrays and accesed from  
    many threads simultaneously. The thread package contains 
    examples of Tcl code (web server and command server) where 
    sync techniques with mutexes and condition variables are 
    employed. 
     
    Zoran 
     
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"