• 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: Blocking Method Return
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Blocking Method Return


  • Subject: Re: Blocking Method Return
  • From: j o a r <email@hidden>
  • Date: Fri, 2 Dec 2005 15:01:21 +0100


On 1 dec 2005, at 20.30, Josh Ferguson wrote:

I'm currently writing a library that implements some asynchronous
networking code and performs a series of tasks. I want the entrypoint
for this library to be synchronous - so that the method doesn't return
until all the networking is done.

Why do you need this functionality to be synchronous? To me it seems like unnecessary complication. You should be able to change your design ever so slightly, and just wait for the network operations to complete before continuing.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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: 
 >Blocking Method Return (From: "Josh Ferguson" <email@hidden>)

  • Prev by Date: Re: notifications about new network interfaces
  • Next by Date: Re: more than one plist in a file.
  • Previous by thread: Re: Blocking Method Return
  • Next by thread: RE: Blocking Method Return
  • Index(es):
    • Date
    • Thread