Nikodemus Siivola <tsiivola <at> cc.hut.fi> writes:

> 
> Unless I'm horribly mistaken saving cores after multiprocessing has been 
> started doesn't work on either CMUCL or SBCL.
> 

So, I should go back to single-process state before saving the image. 
I can DESTROY-PROCESS every process except the idle loop and then save the 
image but:
  (mapc #'mp:destroy-process
        (butlast (mp:all-processes)))

does not work.

I could not find a function in the MP package that shuts down multiprocessing
and goes back to single processing state. 

What is the purpose of the MP:*MULTI-PROCESSING* variable ? Does it indicates if
multiprocessing is being used ? I seems to be t by default:
$ /usr/local/cmucl-19a/bin/lisp -noinit -core
/usr/local/cmucl-19a/lib/cmucl/lib/lisp.core
CMU Common Lisp 19a-pre3, running on kino
With core: /usr/local/cmucl-19a/lib/cmucl/lib/lisp.core
Dumped on: Wed, 2004-06-30 18:13:25+01:00 on lorien
See <http://www.cons.org/cmucl/> for support information.
Loaded subsystems:
    Python 1.1, target Intel x86
    CLOS based on Gerd's PCL 2004/04/14 03:32:47
* mp::*MULTI-PROCESSING*

T

maybe what I want to do is simply impossible.

Thibault



Reply via email to