F
Frithiof Andreas Jensen
Hi All,
I am tinkering with a stock-market analysis program that needs to have (at
least one) a worker thread for processing real-time data and a GUI where one
can control/monitor the function of the worker, set parameters and so forth.
Is there an elegant and generic way to implement the typical "Model, View,
Controller" pattern so that the "Model+Controller" execute in the context of
the worker thread and the "View" will execute in the GUI thread - and
communication between the two is thread-safe and simple?
I am tinkering with a stock-market analysis program that needs to have (at
least one) a worker thread for processing real-time data and a GUI where one
can control/monitor the function of the worker, set parameters and so forth.
Is there an elegant and generic way to implement the typical "Model, View,
Controller" pattern so that the "Model+Controller" execute in the context of
the worker thread and the "View" will execute in the GUI thread - and
communication between the two is thread-safe and simple?