Re: Race condition on loading packages from 2 maxima processes in parallel?

Raymond Toy <[email protected]> Sun, 14 Jun 2026 06:38:54 -0700
Newsgroups gmane.comp.mathematics.maxima.general
Message-ID <[email protected]>
On 6/14/26 5:05 AM, Gunter Königsmann via Maxima-discuss wrote:

> Dear all,
>
> wxMaxima on every commit creates a new virtual machine, compiles 
> wxMaxima in that machine and runs a few hundred tests in that machine.
>
> If it runs more than one test in parallel sometimes maxima fails to 
> load draw.
>
> My theory is:
>
>   * One maxima process tries to load draw, compiles that package and
>     starts saving it.
>   * A second maxima process tries to load the compiled draw package
>     while that compiled package still being written.
>
> Could that be the case?
>
Yes. Look at share/draw/draw.lisp. It runs |mk:oos| to compile all the 
files from the draw package.
&#8203;

_______________________________________________
Maxima-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maxima-discuss