Is Fl::awake thread safe or do I have to lock FLTK?
I've had a look through the documentation but it didn't really answer my
question directly, so I thought I better check
I'm using Fl::awake(someMessage) from threads other than the thread which is
running the main loop
At the moment I have the following:
Main thread:
Fl::lock(); // Do I need this?
while (Fl::wait())
{
// Check for messages
}
Other threads:
// Not locking FLTK here, is that bad?
Fl::awake(someMessage);
Thanks in advance ;-)
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk