> > Maybe there is a variable I can set, that fltk will check and > trigger the callback?
If you don't fancy the "awake" mechanism (as described by Matthias in another reply) then it is possible to have your fltk thread use add_timeout(...) to simply poll for a flag from your other thread. When the timeout sees the flag set, it can trigger whatever actions are necessary, from within the fltk thread. Depending on how fast you need to refresh your display, this can work pretty well with surprisingly moderate polling rates, say every 100ms or so, perhaps even slower! However, I generally go for the awake() approach myself. SELEX Sensors and Airborne Systems Limited Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

