[Pharo-project] Fwd: Cog VM doesn't start to listen on socket

Eliot Miranda eliot.miranda at gmail.com
Tue Oct 26 13:23:32 EDT 2010

---------- Forwarded message ----------
From: Eliot Miranda <eliot.miranda at gmail.com>
Date: Tue, Oct 26, 2010 at 10:23 AM
Subject: Re: Cog VM doesn't start to listen on socket
To: Lukas Renggli <renggli at gmail.com>

Hi Lukas,

    obviously we use sockets intensively in Teleplace and we see no problems
that are to do with Cog.  But Cog does throw up timing issues in your code
because it has very different performance to the base VM (Smalltalk code is
faster, most primitives have the same speed, allocation is slightly faster,
etc).  So my gut feeling is that what you're seeing is a timing related
issue (race condition?) that is revealed when on Cog and hidden when on the
normal VM.

HTH (yeah, right... ed.)

On Tue, Oct 26, 2010 at 5:04 AM, Lukas Renggli <renggli at gmail.com> wrote:

> Hi Eliot,
> I noticed that on the Cog VM the Kom Seaside server does not
> automatically start to listen, even if there is a process waiting at
> the semaphore of the socket. Singaling that semaphore from the process
> browser fixes the problem and the Cog image is fully working until the
> next time it is opened.
> The exact same image opened with an old VM does not show the problem
> and immediately starts to listen by itself.
> Did anybody else notice the same problem? Anybody found a solution?
> Lukas
> --
> Lukas Renggli
> www.lukas-renggli.ch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20101026/e11ea079/attachment-0001.html>

More information about the Pharo-dev mailing list