Artifact 91db1a62e32498c4b3a186534a7982a4151803723f4c474a566db23fb347f35f:
- File doc/markdown/InitSubSyst.md — part of check-in [5e80e55e41] at 2026-09-26 22:40:07 on branch tip-700 — - added a "title" metadata element to the generated yaml block to satisfy Pandoc when converting to HTML - added markdown2html.tcl as prototype/placeholder of conversion script markdown -> HTML - added some CSS to play with a good visual representation of the generated HTML, starting with the n section pages - fixed man2markdown.tcl not giving the two .TP/.IP parsing places the same treatment (user: Torsten, size: 1513) [annotate] [blame] [check-ins using]
- File doc/markdown/TclCAPI/InitSubSyst.md — part of check-in [b84ce0eee1] at 2026-10-04 22:10:02 on branch tip-700 — file location re-organisation (part 1) (user: Torsten, size: 1513) [annotate] [blame] [check-ins using]
CommandName: Tcl_InitSubsystems title: Tcl_InitSubsystems ManualSection: 3 Version: 9.0 TclPart: Tcl TclDescription: Tcl Library Procedures Keywords:
- binary
- executable file Copyright:
- Copyright (c) 2018 Tcl Core Team ---
Name
Tcl_InitSubsystems - initialize the Tcl library.
Synopsis
::: {.synopsis} ::: #include <tcl.h> [const char *]{.ret} [Tcl_InitSubsystems]{.ccmd} []{.cargs} :::
Description
The Tcl_InitSubsystems procedure initializes various Tcl subsystems. It should be called by any additional Tcl threads created after the main thread in a Tcl application that wish to use Tcl facilities without creating an interpreter. Threads that create interpreters using Tcl_CreateInterp do not need to call this function, provided that Tcl_CreateInterp is the first call into Tcl from that thread.
Note that the main thread must have first called either TclZipfs_AppHook or Tcl_FindExecutable to perform application-wide Tcl initialization before additional threads using Tcl are created. Tcl_InitSubsystems does not suffice for this purpose and should only be used to initialize Tcl in secondary threads. It need not be called in the main thread invoking one of the two aforementioned functions.
The result of Tcl_InitSubsystems is the full Tcl version string, including build information (for example, 9.0.0+abcdef...abcdef.gcc-1002).