Pharo windows unresponsive while busy?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pharo windows unresponsive while busy?

stepken
Hi!

When i paste that stuff into workspace, let it run, all other open windows tasks freeze. (Windows XP, newest VM, newest Pharo patches)

That makes Pharo pretty unusable for programming, testing, debugging ...

I think, there are still some serious problems hidden (design problem?) downunder, which have to be solved ...

regards, Guido Stepken







packages := PackageOrganizer default packages

    select: [ :each | #('Collections' 'Kernel') includes: each packageName ].

browserEnvironment := SelectorEnvironment new label: 'Seaside Methods'. packages do: [ :package |

    package methods

        do: [ :method | browserEnvironment addClass: method actualClass

selector: method methodSymbol ] ]. browserEnvironment open  




_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Pharo windows unresponsive while busy?

Igor Stasenko
2009/4/22 stepken <[hidden email]>:

> Hi!
>
> When i paste that stuff into workspace, let it run, all other open windows tasks freeze. (Windows XP, newest VM, newest Pharo patches)
>
> That makes Pharo pretty unusable for programming, testing, debugging ...
>
> I think, there are still some serious problems hidden (design problem?) downunder, which have to be solved ...
>
> regards, Guido Stepken
>
This is because all do-its executed in process, which responsible from
handling UI events.
To avoid 'hanging' you can just do like following:
[ do what you need ] fork.

>
>
>
>
>
>
> packages := PackageOrganizer default packages
>
>    select: [ :each | #('Collections' 'Kernel') includes: each packageName ].
>
> browserEnvironment := SelectorEnvironment new label: 'Seaside Methods'. packages do: [ :package |
>
>    package methods
>
>        do: [ :method | browserEnvironment addClass: method actualClass
>
> selector: method methodSymbol ] ]. browserEnvironment open
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Best regards,
Igor Stasenko AKA sig.

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