• 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: Network Reachability APIs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Network Reachability APIs


  • Subject: Re: Network Reachability APIs
  • From: Eric Hermanson <email@hidden>
  • Date: Wed, 20 May 2009 16:56:27 -0400

I'm not so sure it's poppycock. The asynchronous IO APIs all do the work in a background thread (or a 'simulated' background via a run loop). Either way the IO is not blocking the main application thread when it is working. So I don't think the concept that correct IO is IO that is done in the background is at all 'poppycock'.

- Eric


On May 20, 2009, at 4:27 PM, Kyle Sluder wrote:

On Wed, May 20, 2009 at 4:21 PM, Eric Hermanson <email@hidden> wrote:
I understand what you are saying, but if you do IO correctly you'll do it in
a background thread anyway.

Poppycock. Why do you think non-blocking synchronization primitives exist?


So waiting on a blocking socket until it times
out or gives EOF is normally how IO is done.

Maybe that's normally how you've done IO, but other solutions exist.

--Kyle Sluder

_______________________________________________

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: Network Reachability APIs
      • From: Kyle Sluder <email@hidden>
References: 
 >Network Reachability APIs (From: Eric Hermanson <email@hidden>)
 >Re: Network Reachability APIs (From: Luke the Hiesterman <email@hidden>)
 >Re: Network Reachability APIs (From: Eric Hermanson <email@hidden>)
 >Re: Network Reachability APIs (From: Luke the Hiesterman <email@hidden>)
 >Re: Network Reachability APIs (From: Eric Hermanson <email@hidden>)
 >Re: Network Reachability APIs (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Network Reachability APIs
  • Next by Date: Re: Network Reachability APIs
  • Previous by thread: Re: Network Reachability APIs
  • Next by thread: Re: Network Reachability APIs
  • Index(es):
    • Date
    • Thread