Version: 9.15.0
KernelServices.cxx File Reference
#include "SALOME_KernelServices.hxx"
#include <iostream>
#include <mutex>
#include <thread>
Include dependency graph for KernelServices.cxx:

Functions

void RegisterCompoInternal (const std::string &compoName, const std::string &compoIOR)
 
std::string RetrieveCompoInternal (const std::string &compoName)
 
void GenerateViolentMemoryFaultForTestPurpose ()
 This method generates a SIGSEGV to test robustness of higher level layers. More...
 
void goForLock ()
 
void EntryForDebuggerBreakPoint ()
 This method wrapped into Python is useful to have a break point in C++ when complex python script is invoked in the stack. More...
 
void GenerateDeadLockForTestPurpose ()
 This method leads to a deadlock to test robustness of higher level layers. More...
 

Variables

static std::mutex global_mut
 

Function Documentation

◆ EntryForDebuggerBreakPoint()

void EntryForDebuggerBreakPoint ( )

This method wrapped into Python is useful to have a break point in C++ when complex python script is invoked in the stack.

◆ GenerateDeadLockForTestPurpose()

void GenerateDeadLockForTestPurpose ( )

This method leads to a deadlock to test robustness of higher level layers.

References global_mut, and goForLock().

◆ GenerateViolentMemoryFaultForTestPurpose()

void GenerateViolentMemoryFaultForTestPurpose ( )

This method generates a SIGSEGV to test robustness of higher level layers.

References TestSalomeSDS1::a.

◆ goForLock()

void goForLock ( )

References global_mut.

Referenced by GenerateDeadLockForTestPurpose().

◆ RegisterCompoInternal()

void RegisterCompoInternal ( const std::string &  compoName,
const std::string &  compoIOR 
)

◆ RetrieveCompoInternal()

std::string RetrieveCompoInternal ( const std::string &  compoName)

Variable Documentation

◆ global_mut

std::mutex global_mut
static