• 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: Threading synchronization: does a primitive exists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threading synchronization: does a primitive exists?


  • Subject: Re: Threading synchronization: does a primitive exists?
  • From: Graham Cox <email@hidden>
  • Date: Fri, 06 May 2011 09:01:09 +1000

On 05/05/2011, at 11:51 PM, eveningnick eveningnick wrote:

> What i need - is to stop the thread A immediately after the thread B
> has been spawned by a thread A.

Hang on. Why use a thread at all? If Thread A simply calls the process B synchronously, it will achieve exactly what you have stated you want - that A will stop when B starts, and will continue when B finishes.

--Graham


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Threading synchronization: does a primitive exists?
      • From: eveningnick eveningnick <email@hidden>
References: 
 >Threading synchronization: does a primitive exists? (From: eveningnick eveningnick <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: Heath Borders <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: eveningnick eveningnick <email@hidden>)

  • Prev by Date: Re: how can I copy from another app?
  • Next by Date: change the content of the datasource for a tableView from a different class
  • Previous by thread: Re: Threading synchronization: does a primitive exists?
  • Next by thread: Re: Threading synchronization: does a primitive exists?
  • Index(es):
    • Date
    • Thread