Re: [fltk.general] Correct way to fire graphics updates from abackground thread

2013-03-18 Thread Albrecht Schlosser
On 18.03.2013 10:51, memoryl...@tin.it wrote: Hi all, just to have confirmation of what I am doing. My app is multithreaded ; the main() loop and some other working threads, receiving / sending data and doing calculations. The question: what is the correct way to fire a graphics update from

Re: [fltk.general] Correct way to fire graphics updates from abackground thread

2013-03-18 Thread MacArthur, Ian (Selex ES, UK)
The question: what is the correct way to fire a graphics update from a thread ? Others will probably chime in and tell you more about programming with threads and FLTK. Ah... That quite possibly means me then... OK, at a high level, it goes something like this: Firstly, a caveat:

Re: [fltk.general] Correct way to fire graphics updates from abackground thread

2013-03-18 Thread Edzard Egberts
memoryl...@tin.it schrieb: My app is multithreaded ; the main() loop and some other working threads, receiving / sending data and doing calculations. The question: what is the correct way to fire a graphics update from a thread ? We see, there are several correct ways. For measurements made