[haiku-appserver] Re: progress and status

  • From: "Stephan Assmus" <superstippi@xxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Wed, 18 May 2005 10:55:53 +0200 CEST

Hi!

> >     Yes, in the looper thread too.
> >     A flush occurs when:
> >- Flush() or Sync() is called.
> >- when the current message that is being composed does not >fill in 
> > the 
> >remaining space of the send buffer. (complete commands that >are in 
> > this 
> >buffer are sent and the one being constructed is copied at >the 
> > start of 
> >buffer - at least that's how I remember it)
> 
> Ok, but are we flushing periodically ? I would think we are not, as 
> some things (like for example the blinking caret in BTextView) don't 
work unless we flush every time.
> 
> >     We have better. Our messages will be buffered just >like in R5, but 
> >what's nicer is that they are complete.
> 
> Maybe I didn't explain it well, but doesnt' matter right now.
> I'll go back on this subject another time, as it doesn't limit  what 
> we can do (at least, judging by what you said).
> >     We can. And we do that. ;-)
> 
> See above.

IMHO, we should worry more about having correct asynchronous controls, 
than correct synchronous ones. So we should fix BTextView and whatever 
polling we would do in MouseDown, we need to spread out over MouseMoved 
and MouseUp.

Best regards,
-Stephan

Other related posts: