Artifacts Associated With Ticket 526299ffffffffff
Ticket change [5927593787] (rid 117930) by vasiljevic on 2002-03-06 09:01:12:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized 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.
- foundin initialized to: "None"
- priority initialized to: "2"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "vasiljevic"
- subsystem initialized to: "None"
- title initialized to: "New Tcl_IsThreaded C-API call"
- type initialized to: "RFE"
Ticket change [5edf1de489] (rid 133511) by jan.nijtmans on 2013-08-27 11:08:37:
- 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"