13.01.2015, 17:12:27 пользователь Arjen Markus (arjen.mar...@deltares.nl) написал:
> What happens if you do not use g_timeout()? I’d say the plot should appear > (at least the axes). Nop... I moved it to the end if init_app() and the axes appeared. Probably because plotting happens in the main gtk loop. But in this case when the time comes to call update_from_modbus() it dumps this to the console: *** PLPLOT ERROR, ABORTING OPERATION *** plsym: Please set up window first, aborting operation The reason seems to be understandable: plend() closes the context of drawing. So it comes to my original question, how is drawing done across threads? -- Sergei ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general