{
// Step 0: Calculated job_id
pthread_mutex_lock(_job_cpt_mutex);
- _job_cpt++;
int job_id = _job_cpt;
+ _job_cpt++;
new_job->setNumber(job_id);
pthread_mutex_unlock(_job_cpt_mutex);
public:
Launcher_cpp();
- ~Launcher_cpp();
+ virtual ~Launcher_cpp();
// Main interface
void createJob(Launcher::Job * new_job);
public:
SALOME_Launcher(CORBA::ORB_ptr orb, PortableServer::POA_var poa);
- ~SALOME_Launcher();
+ virtual ~SALOME_Launcher();
// Main methods
CORBA::Long createJob (const Engines::JobParameters & job_parameters);