Macros | |
#define | RT_NON_DETERMINISTIC_CODE |
Macro to use to specify that the current fonction or method is non deterministic. For e.g. when an new or delete is called. The mechanism behing will check in DEBUG only if the calling thread is TimeCritical or not. More... | |
Functions | |
void | CheckContextNonDeterministic (PCChar8 sourceFileLine) |
Check the consistency of the context of call regarding to the deterministism of the execution. More... | |
bool | IsContextTimeCritical () |
Query if the context is time critical. More... | |
#define RT_NON_DETERMINISTIC_CODE |
Macro to use to specify that the current fonction or method is non deterministic. For e.g. when an new or delete is called. The mechanism behing will check in DEBUG only if the calling thread is TimeCritical or not.
void CheckContextNonDeterministic | ( | PCChar8 | sourceFileLine | ) |
Check the consistency of the context of call regarding to the deterministism of the execution.
The context of call is usually a thread. The function must ensure that it is allowed to execute code considered as non deterministic. This function will send a message to the user application through Runtime Check Event if there is inconsistence.
sourceFileLine | The source file line. |
bool IsContextTimeCritical | ( | ) |
Query if the context is time critical.