Closed sophiemiddleton closed 3 months ago
See comment on the general enhancements issue:https://github.com/Mu2e/REve/issues/132
There is an issue here (or with any feedback to the module). The GUI lives in a separate thread from the application. I can pass information from the module to the GUI, I can input information on the GUI and print it from the GUI C++ class (i.e. the input works) but I cannot pass that input value back to the module.
This seems to be a C++ issue associated with c++ threads, I need to figure out a general fix and we would then have a lot of new features on REveMu2e @kutschke @brownd1978 have you seen anything like this before?
... but I cannot pass that input value back to the module.
There must be a way to do bi-directional communication. Brute force is to sue mutex controlled variables that are available in both threads. I am sure that there are better ways. For help with this sort of question, start by making an issue on the art issue tracker. Even though this is not strictly an art issue is about operating within art and the art team does have the expertise to help with this.
I opened an issue: https://github.com/art-framework-suite/art/issues/147
Almost done