help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Datagram socket, async polling and image resume


From: Holger Hans Peter Freyther
Subject: Re: [Help-smalltalk] Datagram socket, async polling and image resume
Date: Fri, 10 Aug 2012 00:20:51 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Aug 09, 2012 at 09:38:14PM +0200, Holger Hans Peter Freyther wrote:
> okay, I will try it. But this complicates the code a bit for me. My standard
> socket is doing is here[1]. For a 'normal' stop operation I close the socket
> ensureReadable will go away, the process terminates, I signal a sempahore and
> once both RX/TX are gone the stop method will return. For the image restore
> the above will not work. I might be lucky with moving 'Forget things' a little
> bit up and forcing a garbage collection after that. Does that make sense?

I did the modification, the process is garbage collected and the ensure: []
is never called. My second option would be finalizers? My basic concern is
that at no time I want to have two handlers running (this is why I use a
semaphore).

any ideas?
        holger




reply via email to

[Prev in Thread] Current Thread [Next in Thread]