[Pharo-project] [Seaside] Komanche ?
John M McIntosh
johnmci at smalltalkconsulting.com
Mon Oct 12 20:26:27 UTC 2009
(a) the first problem is how the 2nd VM is launched. We actually use
Apple Script to re-launch the binary with the supplied image when
we receive the open document apple event. The behavior of this is
different between 10.3, 10.4, 10.5 and I assume the 10.6 is the same
as 10.5 because we had reported an issue with the 10.4 behavior they
fixed in 10.5
Indications are is that the apple script code executes a execv (but we
are not sure)
this then retains the open file descriptors so it retains the
knowledge about open sockets.
(b) I'm not sure what the behavor would be if you launch VM "A" then
listen on socket 8080. Then launch VM "B" then again listen on socket
will both virtual machines "A" and "B" attempt to service socket 8080,
or will VM "B" get told it cannot listen on 8080 because it does not
Pending is work on a pure objective-c based squeak VM based on the the
iPhone work, which would alter the behaviour.
But if someone can answer (b) then maybe we can see about an interim
fix to deal with (a)
On 2009-10-12, at 1:56 AM, Adrian Lienhard wrote:
> Hi Ramiro,
> Yes, this is an issue of the Mac VM only.
> It was reported in the sense that I sent a mail with instructions to
> reproduce the problem to the Squeak-vm mailing list and John
> acknowledged the problem. I don't know whether John intends to fix
> this, though.
John M. McIntosh <johnmci at smalltalkconsulting.com> Twitter:
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
More information about the seaside