theKernel 10.0
Loading...
Searching...
No Matches
MkRuntimeC_TCL_API

MkRuntimeC - The class known as mkrt or runtime is the main tclmkkernel application environment … More...

+ Collaboration diagram for MkRuntimeC_TCL_API:

Topics

 MkRuntimeC_Class_TCL_API
 
 MkRuntimeC_Config_TCL_API
 MkRuntimeC - various functions to configure the MkRuntimeRLS (only C) …
 
 MkRuntimeC_Info_TCL_API
 MkRuntimeC - various functions to print information about the rt
 

Detailed Description

MkRuntimeC - The class known as mkrt or runtime is the main tclmkkernel application environment …

The runtime is automatically created as thread-local-storage at startup, so that each new thread receives a thread-specific runtime. Each instance of the thread has a link to the runtime it was created in:

runtime-separation
  • The runtime and also the runtime-related-thread in the Programming-Language-Micro-Kernel (PLMK) are treated as an independent-process without any process overhead.
  • The runtime is completly independent of any other runtime and can also be used in a separate process without changing the code.
  • The technology behind the so-called runtime-separation is the tclmkkernel technology.
the runtime provide the following features
THREAD ENABLED LIBRARY
The thread-enabled-libry is a library compiled with the --enable-thread configure option of Nhi1Config
RUNTIME DEFAULT
The Programming-Language-Micro-Kernel (PLMK) always has one runtime per thread called the runtime-default. This runtime is created at MkSetup and destroyed at MkCleanup.
The runtime-enabled-function always get the runtime-default as first argument in a doc_mk_tcl_thread-enabled-library.