1 Jun 2008 21:43
Cannot start two SBCLs at the same time on a PPC Mac
Patrick Stein <sbcl-help <at> nklein.com>
2008-06-01 19:43:56 GMT
2008-06-01 19:43:56 GMT
I started playing with writing UFFI bindings for OpenMPI. I think
I have a good start on this, but I can't truly test it at home
because I only have SBCL installed on one machine, and I am having
a terrible time getting even the simplest SBCL program to run twice
at the same time.
Here's my #p"run.sh" shell script:
=======================================
#!/bin/sh
exec sbcl \
--noinform \
--end-runtime-options \
--no-sysinit \
--no-userinit \
--noprint \
--disable-debugger \
--eval '(sb-ext:quit)' \
--end-toplevel-options
=======================================
If I do "./run.sh" then everything works just as I would expect.
And, I can do "./run.sh ; ./run.sh" and it runs twice.
But, if I try to do "./run.sh & ./run.sh" so that they both run at
the same time, I get one SEGV and one success. If I put three in
the background and one in the foreground, I get three SEGVs and one
success.
Thinking that maybe it tried to lock standard-in or standard-out
(Continue reading)
RSS Feed