Message: Re: Any way to change UserAction registrations after the fact? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Any way to change UserAction registrations after the fact? 

Forum: Run Management
Re: Question Any way to change UserAction registrations after the fact? (Michael H. Kelsey)
Re: None Re: Any way to change UserAction registrations after the fact? (Makoto Asai)
Date: 06 Jul, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

Asai, Makoto writes:
> You have to write a small messenger class that sets your stacking
> action to run manager. Old stacking action pointer will be just
> forgotten. Please make sure to do it for worker run manager as well
> if you run your code in MT mode.

Thank you, Makoto!  That helps a lot, to know that it's allowed and safe.  I
can set up the messenger's action (which I'll probably put into my
ActionInitialization class) to delete the old pointer as well, to avoid
memory leaks.

      -- Mike Kelsey

 Add Message Add Message
to: "Re: Any way to change UserAction registrations after the fact?"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]