Problem with context menues when running a low priority process

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

Problem with context menues when running a low priority process

German
Hi!

I´m running a low priority process in the background (Dolphin
Smalltalk X6) and everything works fine until I try to use a context
menu (for example by right clicking a class in the class browser), then
the system hangs and the menu freezes on top of all my windows
(including those outside of Dolphin). I cannot revover from this in any
way.

Is this a bug?

Regards,

GV


Reply | Threaded
Open this post in threaded view
|

Re: Problem with context menues when running a low priority process

Schwab,Wilhelm K
German,

> I´m running a low priority process in the background (Dolphin
> Smalltalk X6) and everything works fine until I try to use a context
> menu (for example by right clicking a class in the class browser), then
> the system hangs and the menu freezes on top of all my windows
> (including those outside of Dolphin). I cannot revover from this in any
> way.
>
> Is this a bug?

I don't think so, if I am following you correctly.  A menu has very
little business in a background process.  Depending on what you are
trying to achieve, you can signal semaphores, use a Mutex and #critical:
or a SharedQueue to share something between processes, or (perhaps the
first thing you should consider) queue a deferred action.  For the
latter, see #queueDeferredAction: and any senders in BlockClosure.

You might want to take a look at my TimedEvaluators package.

Have a good one,

Bill


--
Wilhelm K. Schwab, Ph.D.
[hidden email]


Reply | Threaded
Open this post in threaded view
|

Re: Problem with context menues when running a low priority process

German
Thanks for your suggestions!

Bill Schwab wrote:

> German,
>
> > I´m running a low priority process in the background (Dolphin
> > Smalltalk X6) and everything works fine until I try to use a context
> > menu (for example by right clicking a class in the class browser), then
> > the system hangs and the menu freezes on top of all my windows
> > (including those outside of Dolphin). I cannot revover from this in any
> > way.
> >
> > Is this a bug?
>
> I don't think so, if I am following you correctly.  A menu has very
> little business in a background process.  Depending on what you are
> trying to achieve, you can signal semaphores, use a Mutex and #critical:
> or a SharedQueue to share something between processes, or (perhaps the
> first thing you should consider) queue a deferred action.  For the
> latter, see #queueDeferredAction: and any senders in BlockClosure.
>
> You might want to take a look at my TimedEvaluators package.
>
> Have a good one,
>
> Bill
>
>
> --
> Wilhelm K. Schwab, Ph.D.
> [hidden email]