• 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: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!


  • Subject: Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
  • From: Jim Wintermyre <email@hidden>
  • Date: Sat, 10 Jun 2006 21:46:15 -0700

Allen Cronce wrote:

I would have thought that relying on atexit for cleanup of a
non-application executable could result in undefined behavior. Because
you really don't have control over when your bundle is unloaded.

Shouldn't you use a module termination proc or "__attribute__
((destructor))" instead?

I've never found a way to to have a "module termination proc" for a Mach-O bundle (we had them in the CFM days), so I thought "__attribute__((destructor))" was the only way to go. Am I missing something?


Thanks,
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
      • From: Allen Cronce <email@hidden>
  • Prev by Date: Re: Custom icon for bundle?
  • Next by Date: Code Completion & Nested Obj-C Messages: Wrong Scope
  • Previous by thread: Re: Icon not appearing in bevel button
  • Next by thread: Re: Xcode 2.3 breaks bundle static object destruction? fuse-cxa-atexit? Help!
  • Index(es):
    • Date
    • Thread