Strange behaviour with this block....

Steve Elkins sgelkins at bellsouth.net
Sat Nov 20 11:56:55 UTC 1999


"Piero Campanelli" <pc at skylink.it> wrote:

> but it writes on transcript only after the first execution of resume
> message. Why ? I Think the problem is wait method...because without it
> ..background process works....

<sigh>  Thought about your question more carefully.  Are you wondering
why it doesn't run immediately after you send #newProcess?  If so, it's
because that's what the method is designed to do.  As its comment says,
"Answer a Process running the code in the receiver. The process is not
scheduled."  Sending #resume is what schedules the process.  There's no
problem with #wait.

HTH,
Steve





More information about the Squeak-dev mailing list