From: Leonardo M. <lm...@ud...> - 2003-06-10 19:16:58
|
Hi Jonathan, Michael, all I thinkg that the new method based on named pipes is the a robust solution to the problem of temp files deletion we had before. Moreover, multithreading is the way to go because it naturally scales well when you have multiple processors. People will eventually migrate to apache 2 after all ;-) But in the meantime, how about this: > You realize, of course, that you can use the old-fashioned method of > temporary files even in the new version of Gnuplot.py? But then you > have the old problems, too. Before Michael implemented the named pipes, I temporarily used a dirty hack: I inherited a class from Gnuplot, and overloaded the destructor, where I put a "sleep" statement, with a preset waiting time before a Gnuplot objet gets destructed. For that I estimated the time it usually takes me to generate a typical plot, but this is of course a quick and dirty solution. Best luck -- leo |