Re: No more font.wait()?

Adam Megacz <[email protected]> Sat, 10 Apr 2004 00:19:34 -0700
Newsgroups gmane.comp.java.xwt.core
Organization XWT
Message-ID <[email protected]>
David Crawshaw <[email protected]> writes:
> On 10/04/2004, at 2:12 PM, Adam Megacz wrote:
>> Okay, you get one additonal assumption -- rendering will only happen
>> when
>>
>>   1. you return from a thread function
>>   2. you block
>>   3. you return from a mouse/keyboard/resize event handler

> So are these rendering points guaranteed?

No.  But there are guaranteed to be no others.

> My problem was: I had one thread change the position of a cursor, then
> instance another thread that created the selected region.

Bad.  If you want two things to appear simultaneously, you must do
them in the same thread without doing any blocking-things in-between.

  - a