imacarthur wrote:
> Here's a simple example that shows what you might do:
Neat example -- I just tried it.
This example seems to assume the threads.h file that's in the
fltk/test/ directory is in the same directory as the example code.
(I couldn't find Fl_Thread defined anywhere else in 1.3.x).
Also: to get the example to compile on linux, I found I had to add:
#include "config.h"
..at the top, otherwise it said Fl_Thread was undefined,
apparently because HAVE_PTHREAD_H has to be pre-defined
for the body of threads.h to be enabled.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk