HI Hans, > > I would be very nice to have this implemented, so if it is not to > much work ....
It's actually more work than I thought, since in Windows (and maybe other platforms) it is not allowed that two threads use GUI objects (like pen, brush, etc.) since they are not thread-save. So it's not possible that I have a thread which just keeps the window up2date and so on, and the other thread plots into a bitmap (which is then copied into the window canvas) - this would lead to random crashes. In fact I would need to rewrite the driver interface, so that for the thread case, events are sent to the driver thread, which are then processed. So that main thread never touches any wxWidgets object. But this is much more work. Still worth to do, but nothing I could do in just some days. > > For now we will try your other mentioned solution by adding > something in our event loop. Keep me informed, if this works for you. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sme...@iap.tuwien.ac.at web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general