|
From: | Holger Hans Peter Freyther |
Subject: | [Help-smalltalk] Delay, BlockClosure and Process |
Date: | Sat, 11 Sep 2010 01:37:36 +0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2 Thunderbird/3.1.1 |
Hi, I am not seeing the light here... Proc := [ [true] whileTrue: [ c_call_out. (Delay forMilliSeconds: 500) wait. ]. ] fork I would assume that c_call_out would be called every couple of milliseconds but it appears that when the delay is over the Process just exits. Why is that the case? How can I avoid it? How can I achieve something better? (well it would be nice to avoid the poll all together but that is for later).
[Prev in Thread] | Current Thread | [Next in Thread] |