• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: java cocoa appkit application and multiple threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: java cocoa appkit application and multiple threads
      • From: "Nick Emery" <email@hidden>
  • Prev by Date: Re: Getting Name of root Volume
  • Next by Date: Re: Getting Name of root Volume
  • Previous by thread: Re: java cocoa appkit application and multiple threads
  • Next by thread: Re: java cocoa appkit application and multiple threads
  • Index(es):
    • Date
    • Thread