|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] #value sent by cCall? |
Date: | Tue, 08 Jan 2008 11:51:05 +0100 |
User-agent: | Thunderbird 2.0.0.9 (Macintosh/20071031) |
Excellent, thanks! In that case, what I'm seeing is that #value is being sent to the cObject passed in (the SDL_Surface) occasionally, rather than (presumably) the ValueHolder.
I see.
I'm guessing terminate is quite an abrupt way of interrupting a process? If so, is there something less drastic that could be done instead?
No, terminate is not abrupt at all. It works by raising a signal that does its way up to this signal handler:
[... "Invokes the block passed to #fork." aBlockClosure value] on: SystemExceptions.ProcessBeingTerminated do: [:sig | sig return]] I think it's a bug in #queueInterrupt: or something like that.Can you make a self-contained testcase (one that fails "most of the time" at least)?
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |