> I do not know anything about the GTK multithreading capabilities, so what I > would like to know is, where are the threads introduced, is that in > g_timeout()? > But I would think that it initialises a single extra thread. Plplot itself is > not threadsafe, that is, you should not use the functions from different > threads > at the same time, but I would imagine that global variables (as maintained by > the Plplot library) are accessible in any thread. Hence, there should be no > problem.
The call simply creates a new thread that executes a specified function every N seconds. In my case it is 15. All other variables and structures declared globally in my code are accessable from inside. There seem to be nothing unusual about it. > What happens if you use the PSC device? That produces a file on disk. It seems I did sometging wrong... But it produced a file with nothing in it. [serge@yaro c]$ ./ext Enter graphics output file name: oo *** PLPLOT ERROR, ABORTING OPERATION *** plvpor: Invalid limits, aborting operation *** PLPLOT ERROR, ABORTING OPERATION *** plwind: Please set up viewport first, aborting operation *** PLPLOT ERROR, ABORTING OPERATION *** plbox: Please set up window first, aborting operation ------------------------------------------------------------------------------ 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