On 11 May 2011, at 18:48, kxng wrote: > Here are the results I ran your sample program on one core and dualcore > machines:
Who wrote that? It looks a lot like my style, but I have no recollection at all of writing it...! Weird... Anyway - moving on... You are locking far, far too often and this is introducing an implicit serialisation in the threads - everything is blocking to wait for the GUI to refresh. Remember back when I said you need to aggregate updates so that you only refresh the display at (say) 30Hz or so? This is exactly what I meant... So it appears the code is instrumented to support that: read the comments... Basically, set reduce_refresh_rate non-zero, and set GUI_REFRESH_THD to a big number, and see how that flies. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

