#endif
#include <iostream>
+#include <strstream>
#include <string>
#include <stdio.h>
+#include <time.h>
+#include <sys/time.h>
+#include <dlfcn.h>
#ifndef WNT
#include <unistd.h>
//CORBA::ORB_var orb = CORBA::ORB_init( argc , argv ) ;
ORB_INIT &init = *SINGLETON_<ORB_INIT>::Instance() ;
ASSERT(SINGLETON_<ORB_INIT>::IsAlreadyExisting());
- CORBA::ORB_var orb = init(0 , 0 ) ;
+ CORBA::ORB_ptr orb = init(0 , 0 ) ;
// LocalTraceCollector *myThreadTrace = SALOMETraceCollector::instance(orb);
INFOS_COMPILATION;
// add new container to the kill list
#ifndef WNT
- char aCommand[40];
- sprintf(aCommand, "addToKillList.py %d SALOME_Container", getpid());
- system(aCommand);
+ ostrstream aCommand ;
+ aCommand << "addToKillList.py " << getpid() << " SALOME_Container" << ends ;
+ system(aCommand.str());
#endif
Engines_Container_i * myContainer
Utils_Timer timer;
timer.Start();
timer.Stop();
- MESSAGE("SALOME_Registry_Server.cxx - orb->run()");
timer.ShowAbsolute();
#endif
-
+
HandleServerSideSignals(orb);
}