Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5edf1de489921bb7ee494ef997e850bf0ebeaa9b
Ticket: 526299ffffffffffffffffffffffffffffffffff
New Tcl_IsThreaded C-API call
User & Date: jan.nijtmans on 2013-08-27 11:08:37
Changes

  1. assignee changed to: "aku"
  2. closedate changed to: "2456531.96431728"
  3. closer changed to: "jan.nijtmans"
  4. comment changed to:
    Tcl extension and/or C-level code should be able to dynamically find-out whether running under Tcl core 
    compiled for threads or not. 
    This can be achieved in a simple matter as with 
    Tcl_IsSafe() and friends.
    
  5. icomment:
    A very easy solution can be found here: [http://core.tcl.tk/thread/artifact/317ee615b2?ln=447-454]. If Tcl is not compiled with thread support, the call Tcl_MutexLock(&threadMutex) will be a dummy call, so threadMutex will be NULL afterwards. As Tcl 8.6 is compiled with Threads by default, this is no longer a real issue.
    
  6. login: "jan.nijtmans"
  7. mimetype: "text/x-fossil-wiki"
  8. resolution changed to: "Wont Fix"
  9. severity changed to: "Minor"
  10. status changed to: "Closed"