> Mine is as you suggested, but the code doesn't come into play because
> my main() function never exits because I close the app window while
> main() is busy in a loop.

I presume that your FLTK user interface code and Fl::run() are in
the main thread, and the other threads are used for other things
such as calculations, database access, inter-process communication?
I presume that you are also using Fl::lock() and Fl::unlock() for
inter-thread synchronisation?

Some systems are a bit funny about accessing the user interface and
window stuff from child threads. For more information please see:
http://www.fltk.org/documentation.php/doc-1.1/advanced.html#advanced

Cheers
D
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to