> Maybe a bit silly because fltk relies on several static > variables to run, > but on one of my luafltk applications I want to instantiate multiple > interpreters with full fltk capabilities, on the lua side is > easy because > lua is full reentrant but on the fltk side it's not, how could I get > something like multiple independent fltk instances on the > same process ?
I'm not sure I understand the question but... In (what I think was) a similar situation, I linked to fltk dynamically rather than static (I usually favour static linking of course!) and that allowed the various parts of my core process to share the one fltk instance, and all the fltk statics were resolved to the same entities. This worked OK on Linux and Win32 - didn't try it on OSX but I guess it would have been OK. Is that any use to you? SELEX Galileo Ltd 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

