I am using fltk 2.0. I'm my program, I am using lots of threads, and fltk is NOT the main thread. The main thread is reserved for my openglthread which has its own loop, since I am using glfw for that.
I am currently trying to make fltk to update using the awake-call, but I'm not sure if this is working. I got a tip to register a callback in another topic I started, but I guess this won't work in fltk 2.0.. =/ The only thing that is sensitive in my program is the layout-function. I don't want fltk to access it when I don't want to , since then it accesses data in my browser-gadget which I may be manipulating. I made a copy of the browsergdaget and put lock() and unlock() around the code in the layoutfunction, but that hanged fltk - MAYBE because fltk isn't the main thread..? _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

