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

Luís Oliveira <[email protected]> Tue, 5 Apr 2016 01:04:29 +0100
Newsgroups gmane.lisp.slime.devel
Message-ID <CAB-HnLRps_jip8V8AUnt3nprN3V4UK0QdF8nZK+npXMvRm6YYQ@mail.gmail.com>
On Mon, Apr 4, 2016 at 10:28 PM, Mirko Vukovic <[email protected]> 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/