Overview
| Artifact ID: | 5edf1de489921bb7ee494ef997e850bf0ebeaa9b |
|---|---|
| Ticket: | 526299ffffffffffffffffffffffffffffffffff
New Tcl_IsThreaded C-API call |
| User & Date: | jan.nijtmans on 2013-08-27 11:08:37 |
Changes
- assignee changed to: "aku"
- closedate changed to: "2456531.96431728"
- closer changed to: "jan.nijtmans"
- 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.
- 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.
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Wont Fix"
- severity changed to: "Minor"
- status changed to: "Closed"