|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] [bug] Delay issue |
Date: | Wed, 01 Feb 2012 08:26:35 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0 |
On 01/31/2012 09:32 PM, Gwenaël Casaccio wrote:
Eval [ | d1 d2 p1 p2 | sem := Semaphore new. d1 := Delay forSeconds: 1. p1 := [ d1 value: [ sem signal ] onTimeoutDo: [ ] ] fork. sem wait. 'value:onTimeoutDo:' displayNl. d1 := Delay forMilliseconds: 100. d1 value: [ [ true ] whileTrue ] onTimeoutDo: [ ]. ]
Let's fix this too, then. :) Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |