Problem 1822

Summary: In MT mode, UI commands for workers issued after the last beamOn are not processed
Product: Geant4 Reporter: Andrea Dotti <andrea.dotti>
Component: runAssignee: Andrea Dotti <andrea.dotti>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P5    
Version: 10.0   
Hardware: All   
OS: All   

Description Andrea Dotti 2016-01-30 10:31:16 CET
In MT mode UI commands specific for worker-threads issued after the last beamOn of the job are not received by threads. This is because jobs exits without processing the last group of accumulated UI commands.

A use case for this is user-defined commands that perform some action at the end of the job, for example, dumping information accumulated by threads or performing some analysis.

To solve the problem we need to copy the logic of processing UI commands by threads also at exit of the job.

Andrea
Comment 1 Andrea Dotti 2016-02-10 17:06:43 CET
Bug re
Comment 2 Andrea Dotti 2016-02-10 17:12:43 CET
The bugfix requires developments documented in https://jira-geant4.kek.jp/browse/DEV-216
Comment 3 Andrea Dotti 2016-03-01 19:00:46 CET
Fixed starting from 10-02-ref-02. A new feature is present that allows to execute the commands stack in workers w/o a beamOn: this is achieved with a new specific UI command or automatically at the end of the job.