[Newbies] BlockClosure>>fork problem
hugi-squeak-beg at mail.ru
Mon Feb 19 21:45:44 UTC 2007
I'm new to Smalltalk and Squeak and I have a question.
I tried some examples from chapter Processes from "Smalltalk by Example"
book. I executed the following code several times but the output was
quite different as I suppose and differed from time to time.
Furthermore evaluation went a bit slowly.
[10 timesRepeat: [Transcript show: '2']] fork.
[10 timesRepeat: [Transcript show: '1']] fork.
In VisualWorks the same example works right. As described in the book.
I use Squeak 3.9 7067.
Is this a bug or i do something wrong?
P.S. Execuse me my poor english, please.
More information about the Beginners