• 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: setFrame blocks thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setFrame blocks thread?


  • Subject: Re: setFrame blocks thread?
  • From: Theo Vosse <email@hidden>
  • Date: Thu, 20 Oct 2005 16:05:01 +0200

Back in the day, the canonical answer was always "Don't try to draw
from two threads at once;  AppKit is not thread-safe."

Since I don't really need drawing from both threads (it is an info window, so it can wait for the main thread's event loop), I've chosen to use performSelectorOnMainThread to call for the updating. That solved my problem. Thanks!


    Theo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >setFrame blocks thread? (From: Theo Vosse <email@hidden>)
 >Re: setFrame blocks thread? (From: Jack Nutting <email@hidden>)

  • Prev by Date: Re: Universal Binaries and supporting legacy OS
  • Next by Date: Re: Universal Binaries and supporting legacy OS
  • Previous by thread: Re: setFrame blocks thread?
  • Next by thread: posting application event
  • Index(es):
    • Date
    • Thread