[haiku-appserver] Re: progress and status

  • From: Adi Oanca <adioanca@xxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 18 May 2005 11:17:23 +0300

Hi,

Stephan Assmus wrote:
> You're right on track with how you understood what the problem is. But 
> it might not only be with _UPDATE_ messages, but also with others, such 
> as mouse moved ones. (Depending on how BView::GetMouse() works. In some 
> cases, it needs to check the queue, as per the flag, and in other not.)

        OK, no problem, do something similar.

> You're absolutely right, but the problem is how to pull the messages 
> from the port and put them into the message queue while the window 
> thread is actually blocked in task_looper()->DispatchMessage()->
> MouseDown(). Can this be done?

        Sure. It can be done from every method, but as Axel said, the thread
which called this method _must_ be BWindow's thread. (we need to check this in
the respective method)


bye,
Adi.

Other related posts: