How to save process threads when using source code blocks in org-mode's babel?

Luís Oliveira luismbo at gmail.com
Tue Apr 5 00:04:29 UTC 2016


On Mon, Apr 4, 2016 at 10:28 PM, Mirko Vukovic <mirko.vukovic at 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,

-- 
Luís Oliveira
http://kerno.org/~luis/



More information about the slime-devel mailing list