• 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: Callbacks, GUI updates and threading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callbacks, GUI updates and threading


  • Subject: Re: Callbacks, GUI updates and threading
  • From: Andreas Mayer <email@hidden>
  • Date: Sun, 9 May 2004 19:25:09 +0200

Am 09.05.2004 um 17:44 schrieb Brent Gulanowski:

although I
suppose there is the option of just terminating the thread with
prejudice.

There is no option to terminate a thread from the outside.

You have to check for a termination condition in in the thread itself. But that's not hard. Since you only need to read a flag from inside, no locking is needed. To update your UI you can use performSelectorOnMainThread:...


Andreas
_______________________________________________
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.


  • Follow-Ups:
    • Re: Callbacks, GUI updates and threading
      • From: Brent Gulanowski <email@hidden>
References: 
 >Callbacks, GUI updates and threading (From: Hamish Allan <email@hidden>)
 >Re: Callbacks, GUI updates and threading (From: Brent Gulanowski <email@hidden>)

  • Prev by Date: custom sheet modal to window
  • Next by Date: Re: custom sheet modal to window
  • Previous by thread: Re: Callbacks, GUI updates and threading
  • Next by thread: Re: Callbacks, GUI updates and threading
  • Index(es):
    • Date
    • Thread