Salome HOME
[EDF28974] : Move to python implementation of driver and integrate monitoring into...
[modules/yacs.git] / src / runtime / VisitorSalomeSaveState.cxx
index 187f7f680c02ba1ecf4d1040f233f417d54fa4c8..830a9c3abe59b464cdcfffb2eff79e40cd895320 100644 (file)
@@ -116,6 +116,11 @@ void YACS::ENGINE::schemaSaveState(Proc* proc,
                                   const std::string& xmlSchemaFile)
 {
   YACS::BASES::AutoLocker<YACS::BASES::Mutex> alck(&(exec->getTheMutexForSchedulerUpdate()));
+  schemaSaveStateUnsafe(proc,xmlSchemaFile);
+}
+
+void YACS::ENGINE::schemaSaveStateUnsafe(Proc* proc, const std::string& xmlSchemaFile)
+{
   VisitorSalomeSaveState vss(proc);
   vss.openFileDump(xmlSchemaFile);
   proc->accept(&vss);