• 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: Notification when network volume disappears
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Notification when network volume disappears


  • Subject: Re: Notification when network volume disappears
  • From: Jens Alfke <email@hidden>
  • Date: Mon, 14 Jun 2010 11:37:32 -0700

On Jun 14, 2010, at 11:13 AM, Ken Thomases wrote:

> The way around it is to not do blocking operations.  Use non-blocking, asynchronous I/O operations, and impose the timeout yourself.

Last I heard (admittedly, a few years ago) there wasn’t any good way to do async/nonblocking filesystem operations. The standard system calls block; the O_NONBLOCK mode for fcntl only works on network socket streams; and the AIO API has (had?) significant issues.

This may have improved in 10.6, though.

—Jens_______________________________________________

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: Notification when network volume disappears
      • From: vincent habchi <email@hidden>
    • Re: Notification when network volume disappears
      • From: Ken Thomases <email@hidden>
References: 
 >Notification when network volume disappears (From: "Boris Prohaska" <email@hidden>)
 >Re: Notification when network volume disappears (From: Ken Thomases <email@hidden>)
 >Re: Notification when network volume disappears (From: Boris Prohaska <email@hidden>)
 >Re: Notification when network volume disappears (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Notification when network volume disappears
  • Next by Date: How can I get the domain name for a user logged into a Mac via Active Directory?
  • Previous by thread: Re: Notification when network volume disappears
  • Next by thread: Re: Notification when network volume disappears
  • Index(es):
    • Date
    • Thread