• 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: Lockup Problem with Progress Indicator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lockup Problem with Progress Indicator


  • Subject: Re: Lockup Problem with Progress Indicator
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Sat, 3 Apr 2004 14:39:56 +0200

At 12:46 Uhr -0800 02.04.2004, Brant Sears wrote:
My background thread is also calling realoadData on an NSTableView. The
table view is correctly being updated. I am not doing anything special to
try to call reloadData from the maint thread - I just call it from the
background thread. I did try to make sure I at least start and stop the
progress indicators from the main thread.

Any ideas on what I could be doing wrong?

Exactly that. You need to call those methods on the main thread and wait for them to be done in your threads. Most of AppKit (at least the parts that deal with GUI) are not yet thread-safe.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Lockup Problem with Progress Indicator (From: Brant Sears <email@hidden>)

  • Prev by Date: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Next by Date: Re: Fast file access (was Re: [ANN] Shovel - Third-Party "Software Update")
  • Previous by thread: Re: Lockup Problem with Progress Indicator
  • Next by thread: Re: Lockup Problem with Progress Indicator
  • Index(es):
    • Date
    • Thread