2009/4/20 Michael Rueger <m.rueger@acm.org>:
On Mon, Apr 20, 2009 at 5:58 PM, Igor Stasenko <siguctua@gmail.com> wrote:
2009/4/20 Stéphane Ducasse <stephane.ducasse@inria.fr>:
Would a platform specific code or infrastructure help there?
There should be some kind of detection algorythm , which can switch between polling and waiting on input semaphore. My proposal is to change the primitive (primInterruptSemaphore: aSemaphore ) to return boolean value, showing that input semaphore signaling is available.
I disagree, changing the VM and still not fixing it is not really an option. If I understood Andreas correctly the signalling is not hard to implement and then we could abandon polling altogether.
Well, its all about backward compatibility. Sure, if Pharo ships with only newest VM, then there no need in having these workarounds.
Michael
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.