Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 06e7053c24d9c889d3a190b9497643a101ed5ae0
Ticket: 672050ffffffffffffffffffffffffffffffffff
function interface design and namespaces
User & Date: nobody on 2003-01-22 15:32:30
Changes

  1. icomment:
    Logged In: NO 
    
    I have nothing against that. It will however yield no speed  
    imporvements. Ok, the maintenance might be simpler.   
    The ideal OO-like approach would be:  
      
    set mutex [thread::mutex new]  
    $mutex lock  
      
    But, this would defeat the byte-compiler and impose speed  
    limits. Also, since the "$mutex" command will then be   
    limited to single interpreter, you'd loose the transparency  
    of the item (in this case the mutex) among threads, so it will  
    even more complicate the matter. Therefore, this is the  
    approach I've dropped from further considerations. 
     
    Which leaves us with your proposed change. As I said, I see 
    no real problems in that. 
     
    Zoran 
      
    
    
  2. login: "nobody"
  3. mimetype: "text/plain"
  4. username: "nobody"