The MkRuntimeS provide a per-thread environment for CcMkKernel … More...
#include <LibMkKernel_mk.h>
Public Attributes | ||
union { | ||
struct MkObjectS obj | ||
} | super | |
is the MkRuntimeS initialized? … | ||
MK_RTEXT | rtHead | |
struct MkErrorS | error_mk | |
default-system-error - default-error … | ||
struct MkErrorPanicS | error_panic | |
panic-system-error - panic on next error … | ||
struct MkErrorIgnoreS | error_ignore | |
ignore-system-error - ignore the next error … | ||
struct MkErrorPrintS | error_print | |
ignore-system-error - print the next error into MkLogFileC … | ||
struct MkBuffer64S | bud | |
runtime local buffer (RLS) for misc tasks … | ||
MK_PTR | threadData | |
application specific thread data … | ||
MK_RTEXT | mkrtext | |
package specific runtime extension … | ||
MkSelfIncrF | fSelfIncr | |
"incr" Self pointer if pointer stored INTERNAL (MkObjectHandleGet) | ||
MkSelfDecrF | fSelfDecr | |
"decr" Self pointer if pointer stored INTERNAL (MkObjectHandleDelete) | ||
bool | MkSelfIncrOnCacheB | |
incr refCount on self at MkSelfNew … | ||
struct MkSuperTypeS | _MkObjectC_T | |
struct MkSuperTypeS | _MkBufferC_T | |
struct MkSuperTypeS | _MkBuffer64C_T | |
struct MkSuperTypeS | _MkBuffer256C_T | |
struct MkSuperTypeS | _MkBuffer1024C_T | |
struct MkSuperTypeS | _MkBufferStreamC_T | |
struct MkSuperTypeS | _MkBufferStream16384C_T | |
struct MkSuperTypeS | _MkBufferStream256C_T | |
struct MkSuperTypeS | _MkBufferStream64C_T | |
struct MkSuperTypeS | _MkBufferStream1024C_T | |
struct MkSuperTypeS | _MkBufferListC_T | |
struct MkSuperTypeS | _MkLogFileC_T | |
struct MkSuperTypeS | _MkErrorC_T | |
struct MkSuperTypeS | _MkErrorDefaultC_T | |
struct MkSuperTypeS | _MkErrorIgnoreC_T | |
struct MkSuperTypeS | _MkErrorPrintC_T | |
struct MkSuperTypeS | _MkErrorPanicC_T | |
struct MkSuperTypeS | _MkExtensionC_T | |
struct MkSuperTypeS | _MkErrExtC_T | |
struct MkSuperTypeS | _MkRtExtC_T | |
struct MkSuperTypeS | _MkRuntimeC_T | |
struct MkTypeS | _MkTypeC_TT | |
struct MkTypeS | _MkSuperTypeC_TT | |
MK_BINB | private_variables [12986] | |
runtime-configuration | ||
This is the global per-thread-configuration data, the "pIoStartServer" will use this data for setup the | ||
bool | isSilent | |
write (false ) or don't write (true ) any message to MkLogFileC (default: stderr) (default: false ) … | ||
bool | noDeco | |
do not use decoration to generate log messages (default: use decoration) … | ||
MK_I32 | debug | |
set the debug-level of the context … Valid values are 0 <= debug-level <= 9 using 0 for no-debug and 9 for maximum-debug. (default: 0) | ||
FILE * | logFILE | |
logging target… open libmkkernel::MkRuntimeS::logfile (default: stderr) | ||
MK_STR | logfile | |
append to logfile, valid values are: stderr, stdout or a filename (default: stderr) | ||
bool | logfileLOCK | |
The MkRuntimeS provide a per-thread environment for CcMkKernel …
Definition at line 11214 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBuffer1024C_T |
Definition at line 11321 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBuffer256C_T |
Definition at line 11320 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBuffer64C_T |
Definition at line 11319 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferC_T |
Definition at line 11318 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferListC_T |
Definition at line 11327 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferStream1024C_T |
Definition at line 11326 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferStream16384C_T |
Definition at line 11323 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferStream256C_T |
Definition at line 11324 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferStream64C_T |
Definition at line 11325 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkBufferStreamC_T |
Definition at line 11322 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkErrExtC_T |
Definition at line 11335 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkErrorC_T |
Definition at line 11329 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkErrorDefaultC_T |
Definition at line 11330 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkErrorIgnoreC_T |
Definition at line 11331 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkErrorPanicC_T |
Definition at line 11333 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkErrorPrintC_T |
Definition at line 11332 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkExtensionC_T |
Definition at line 11334 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkLogFileC_T |
Definition at line 11328 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkObjectC_T |
Definition at line 11317 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkRtExtC_T |
Definition at line 11336 of file LibMkKernel_mk.h.
struct MkSuperTypeS libmkkernel::MkRuntimeS::_MkRuntimeC_T |
Definition at line 11337 of file LibMkKernel_mk.h.
struct MkTypeS libmkkernel::MkRuntimeS::_MkSuperTypeC_TT |
Definition at line 11339 of file LibMkKernel_mk.h.
struct MkTypeS libmkkernel::MkRuntimeS::_MkTypeC_TT |
Definition at line 11338 of file LibMkKernel_mk.h.
struct MkBuffer64S libmkkernel::MkRuntimeS::bud |
runtime local buffer (RLS) for misc tasks …
Definition at line 11287 of file LibMkKernel_mk.h.
MK_I32 libmkkernel::MkRuntimeS::debug |
set the debug-level of the context … Valid values are 0 <= debug-level <= 9 using 0 for no-debug and 9 for maximum-debug. (default: 0)
Definition at line 11275 of file LibMkKernel_mk.h.
struct MkErrorIgnoreS libmkkernel::MkRuntimeS::error_ignore |
ignore-system-error - ignore the next error …
The next error will be ignored, no formatting will be performed and the the default-error will not be modified.
There are two functions to suppress an error: MkErrorIGNORE and MkErrorNoRaise.
Definition at line 11250 of file LibMkKernel_mk.h.
struct MkErrorS libmkkernel::MkRuntimeS::error_mk |
default-system-error - default-error …
The default-error is defined once per runtime and is used as only-valid-source of an MkErrorC in a thread or process.
Definition at line 11244 of file LibMkKernel_mk.h.
struct MkErrorPanicS libmkkernel::MkRuntimeS::error_panic |
panic-system-error - panic on next error …
If the panic-system-error is used as the format-obj of an error-message, the text is formated as usual, but the default-error is not set, instead a MkPanicVL is called and the application terminates.
Set the MkErrorS::format_of_error attribute to PANIC. The next error-message will be formated as usual and than be reported using MkPanicVL. With MkPanicVL the error will be printed to MkLogFileC (default: stderr) and the application will abort.
Definition at line 11247 of file LibMkKernel_mk.h.
struct MkErrorPrintS libmkkernel::MkRuntimeS::error_print |
ignore-system-error - print the next error into MkLogFileC …
The next error-message will be formated as usual and than be reported using MkLogVL. The default-error will not be modified.
Set the MkErrorS::format_of_error attribute to PRINT.
Definition at line 11253 of file LibMkKernel_mk.h.
MkSelfDecrF libmkkernel::MkRuntimeS::fSelfDecr |
"decr" Self pointer if pointer stored INTERNAL (MkObjectHandleDelete)
Definition at line 11299 of file LibMkKernel_mk.h.
MkSelfIncrF libmkkernel::MkRuntimeS::fSelfIncr |
"incr" Self pointer if pointer stored INTERNAL (MkObjectHandleGet)
Definition at line 11296 of file LibMkKernel_mk.h.
bool libmkkernel::MkRuntimeS::isSilent |
write (false
) or don't write (true
) any message to MkLogFileC (default: stderr) (default: false
) …
Definition at line 11264 of file LibMkKernel_mk.h.
FILE* libmkkernel::MkRuntimeS::logFILE |
logging target… open libmkkernel::MkRuntimeS::logfile (default: stderr)
Definition at line 11278 of file LibMkKernel_mk.h.
MK_STR libmkkernel::MkRuntimeS::logfile |
append to logfile, valid values are: stderr, stdout or a filename (default: stderr)
Definition at line 11281 of file LibMkKernel_mk.h.
bool libmkkernel::MkRuntimeS::logfileLOCK |
Definition at line 11282 of file LibMkKernel_mk.h.
MK_RTEXT libmkkernel::MkRuntimeS::mkrtext |
package specific runtime extension …
Definition at line 11293 of file LibMkKernel_mk.h.
bool libmkkernel::MkRuntimeS::MkSelfIncrOnCacheB |
incr refCount on self at MkSelfNew …
Some Target-Programming-Language (TPL) (e.g. Python) return a new instance with refCount=1
, which causes problems in MkSelfNew.
NULL
.Now there is a discrepancy in the refCount between the self of MkSelfGet and the self of MkSelfCreate.
Definition at line 11310 of file LibMkKernel_mk.h.
bool libmkkernel::MkRuntimeS::noDeco |
do not use decoration to generate log messages (default: use decoration) …
Definition at line 11267 of file LibMkKernel_mk.h.
struct MkObjectS libmkkernel::MkRuntimeS::obj |
Definition at line 11235 of file LibMkKernel_mk.h.
MK_BINB libmkkernel::MkRuntimeS::private_variables[12986] |
Definition at line 11344 of file LibMkKernel_mk.h.
MK_RTEXT libmkkernel::MkRuntimeS::rtHead |
Definition at line 11241 of file LibMkKernel_mk.h.
union { ... } libmkkernel::MkRuntimeS::super |
is the MkRuntimeS initialized? …
On "smart" systems like "csharp"… threads are created "on-the-fly" not only on user-demand… The problem is the "cleanup" code from the garbage-collection is controlled by "csharp" and sometimes "csharp" choose a new thread for this task. a "new" thread start with an empty MkRuntimeS… we need to handle this.
By default the MkSetup will initialize the MkRuntimeS but in addition the MkRtSetup_NULL_RT macro will use the MkRT macro to perform the initialization.
MK_PTR libmkkernel::MkRuntimeS::threadData |
application specific thread data …
Definition at line 11290 of file LibMkKernel_mk.h.