You can keep the forked process and later send #terminate to it.

________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Andrei 
Stebakov
Sent: Monday, May 10, 2010 5:52 PM
To: [email protected]
Subject: Re: [Pharo-project] Single threaded Pharo IDE?



On Mon, May 10, 2010 at 6:21 PM, Igor Stasenko 
<[email protected]<mailto:[email protected]>> wrote:
2010/5/11 Andrei Stebakov <[email protected]<mailto:[email protected]>>:
>
>
> I just started to use Pharo 1.0. So please bear with me since I may not
> fully understand the full concept of the IDE. Sometimes the whole IDE
> freezes indefinitely. So questions:
> 1) Looks like evaluating anything from the Workspace freezes the whole UI
> for the time of execution. Is it a bug or a feature?

all doits evaluated in UI process. So, this is a feature.
And that's why UI process freezing, if you evaluating something lengthly.
If you want to run your snippet of code in background, just wrap it with fork:

[ ... do something... ] fork
It works too. I guess the only way to terminate the forked process is though 
the Process Browser (which has some unique name for that block like "[] in 
Semaphore>>critical" in this case).
Is there a way to refresh the Process Browser window so that it shows the new 
processes (it only refreshes for me if I close and open it)?



> 2) Sometimes executing something freezes the UI indefinitely. Is there a way
> to cancel the operation (other than restarting the image)?
> Strangely in my case the IDE froze on evaluating HTTPSocket httpGet:
> 'http://www.pharo-project.org/home'
>
you can interrupt a currently running process by pressing Alt-.

> Thank you,
> Andrei
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]<mailto:[email protected]>
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

_______________________________________________
Pharo-project mailing list
[email protected]<mailto:[email protected]>
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to