On Mon, Apr 4, 2016 at 10:28 PM, Mirko Vukovic mirko.vukovic@gmail.com wrote:
But in the org-mode, after successfully creating the first plot, the subsequent ones raise the error that the stream is private to a thread. So I have to restart GNUplot for each plot.
I'm guessing you're using Clozure CL. If you pass :sharing :external or :sharing :lock (whichever is more appropriate) to ccl:run-program then the stream won't be thread-private.
HTH,