I'm using FLTK 1.1.9, on a Windows box (issue only seems to happen on a 
Windows) machine.

The program flow is this:
Start listening for server communication in child thread.

When response is made call a method in the main function (which is now a part 
of that server thread listen thread.)

In that call it tells a button to add a timeout (button is executing in the 
main thread).

When I call add_timeout from a worker thread with the proper mutex of 
Fl::lock() and Fl::unlock() the timeout never actually begins.  What is 
happening is that it is hitting the code to perform the add_timeout just as it 
did on my Ubuntu box.  However, the static method that I used for the callback 
for the timeout never gets executed.

Should add_timeout not be called from a worker thread?  Is there a way for me 
too switch the thread my server communication thread executes it's callbacks?

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

Reply via email to