Re: How to save process threads when using source code blocks in org-mode's babel?
Mirko Vukovic <[email protected]> Mon, 4 Apr 2016 20:42:16 -0400
| Newsgroups | gmane.lisp.slime.devel |
|---|---|
| Message-ID | <CAO73BABm5o7euFy6bszr7+0TPMqL0Co5Y=LiFariXJn7cGKJ5Q@mail.gmail.com> |
On Mon, Apr 4, 2016 at 8:04 PM, Luís Oliveira <[email protected]> wrote: > 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. Correct :-) > If you pass :sharing :external > or :sharing :lock (whichever is more appropriate) to ccl:run-program > then the stream won't be thread-private. > I'll give it a try > HTH, > > -- > Luís Oliveira > http://kerno.org/~luis/ >