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


_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to