Hello all, I am having an intermittent problem with plplot using the xwin driver and multiple streams/windows. I think the cause may be that the xwin driver events thread is saving and restoring the active stream while processing events for different windows, while at the same time the main execution thread (making plplot calls) may be itself changing the active stream. Occasionally, when the xwin events thread restores the previously active stream after processing an event for another stream, the restored stream is no longer the current one. For example, I have seen the active stream get switched by the events thread in the middle of plinit so that the stream is only half initialized and subsequent plplot calls fail, or switched in the middle of plend1 so that the wrong memory is freed and the program crashes.
Is this a bug/limitation of plplot, or am I doing something wrong? Best Regards, Andrew ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
