Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f5d4b06bd6b78ca08a129f569c7c1ab7aee4253a
Ticket: 674367ffffffffffffffffffffffffffffffffff
call for a function that is not thread safe
User & Date: elfring on 2003-01-25 16:10:09
Changes

  1. icomment:
    Logged In: YES 
    user_id=572001
    
    Values are only available globally with TCL threads if the data is stored in 
    thread shared variables. (http://cvs.sourceforge.net/cgi-
    bin/viewcvs.cgi/*checkout*/tcl/thread/doc/html/tsv.html).
    
    So I 
    adjust my suggestion for the function interface design. The identifier for the 
    mutex object with the global scope must be accessed by a thread shared 
    variable.
    
    1. thread::mutex::create ?tsvname 
    ...?
    
    2.
    thread::safecall id tsvname script ?varname?
    
    
  2. login: "elfring"
  3. mimetype: "text/plain"
  4. username: "elfring"