> Hello All > > I am building a real time monitor on linux using GTK for the time but i am > considering switching to FLTK. > > This monitor uses two threads. One for receiving and decoding the data (from > hardware that gets connected to a serial port) and one for processing the > data. Processing also involves ploting some curves. > > In GTK, Multithreading is taken care of by GDK threads (When multiple threads > try to call the GTK routines), for the rest of my application i am using the > pthread library. > > So what i would like to ask is: > > 1. How is multithreading taken care of in FLTK 1.1.x? I mean what should i do > to ensure that calling a widget (or more than one) refresh function from > inside a thread will not result to a crash or freeze of my application.
Hi, I don't know if it's still relevant for you but: Regarding multithreading with FLTK 1.x, I elaborated a method for that some years ago. Check that at http://www.angelfire.com/linux/tzptech/fltk/fltk-mt.html Good luck... _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
