Re: java cocoa appkit application and multiple threads
Re: java cocoa appkit application and multiple threads
- Subject: Re: java cocoa appkit application and multiple threads
- From: Michael Dupuis <email@hidden>
- Date: Fri, 01 Jun 2001 18:11:29 -0400
In what I'm doing, I build the entire data set in the thread. I then set the
contents of the data storage object that I am using for my table, that way
there are no synchronization issues like you are seeing. The only problem is
that until the thread completes, the user isn't able to view any of the
data.
Michael
>
From: email@hidden
>
Reply-To: email@hidden
>
Date: Fri, 1 Jun 2001 13:38:07 -0700 (PDT)
>
To: email@hidden
>
Subject: cocoa-dev digest, Vol 1 #89 - 15 msgs
>
>
there seems to be a problem with just calling back to deliver the results from
>
the sub-thread. In the main thread, the dataSource for the NSTableView uses
>
one call to get the table size, and another to get a cell's contents. it is
>
therefore possible for the size of the table to change between the call to get
>
the size and the call to get a cell.