• 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: Running Cocoa applications from file servers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running Cocoa applications from file servers


  • Subject: Re: Running Cocoa applications from file servers
  • From: Michael Ash <email@hidden>
  • Date: Wed, 25 Feb 2009 14:41:54 -0500

On Wed, Feb 25, 2009 at 1:21 PM, I. Savant <email@hidden> wrote:
>  I was rushing off to a meeting, but I wanted to expand on this a
> bit. Most complicated applications won't be loading all their
> resources when they're launched (if they're worth a damn, that is), so
> consider what would happen if, as happened today at my place of
> employment, a wide-spread electrical problem caused all the internal
> switches to randomly go up and down for half the day.

Note that there's no need to add the qualifier "most complicated"
here. *All* applications load resources lazily, simply because OS X
uses memory-mapped executables. The binary doesn't get loaded into RAM
all at once, it gets loaded on demand. If the network dies and then
you try to access some code that either was never loaded or got
purged, game over. If the network disk is gone then the application
will segfault and crash. If the network disk is still mounted then it
will freeze until either you can convince the system to start it
working again, or until it goes away and then the app will segfault.

Mike
_______________________________________________

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: Running Cocoa applications from file servers
      • From: "I. Savant" <email@hidden>
References: 
 >Running Cocoa applications from file servers (From: Erik Buck <email@hidden>)
 >Re: Running Cocoa applications from file servers (From: "I. Savant" <email@hidden>)
 >Re: Running Cocoa applications from file servers (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
  • Next by Date: -[_NSControllerObjectProxy entity]: unrecognized selector sent to instance
  • Previous by thread: Re: Running Cocoa applications from file servers
  • Next by thread: Re: Running Cocoa applications from file servers
  • Index(es):
    • Date
    • Thread