On 5 Dec 2009, at 23:56, Greg Ercolano wrote:
>
>       If you need smooth motion during a choppy algorithm,
>       you're only other choice I think is to run your
>       while() loop in an entirely separate thread, so that FLTK
>       has the main thread all to itself, and remove the Fl::check()
>       call from your loop.

I should say that this is the approach I would recommend - but I  
favour using multiple threads, so I am biased in favour of this  
approach.
Greg, I think, is less keen on threads due to the difficult (and  
often hard to debug) interactions they tend to introduce...!
-- 
Ian




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

Reply via email to