• 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: getcontext() -> Bus error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getcontext() -> Bus error?


  • Subject: Re: getcontext() -> Bus error?
  • From: Edd Dawson <email@hidden>
  • Date: Thu, 14 Feb 2008 18:17:38 +0000

Terry Lambert wrote:
This declaration is on the main program stack:

    ucontext_t ctx;

it's not allocated on the heap (e.g. via malloc), and it's not global.

Is that bad? Does the storage type of the ucontext_t matter?

This has worked for me on other systems so I'm interested to know about any darwin-specific (or general) coding faux-pas in this area.

Thanks,

Edd


_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: getcontext() -> Bus error?
      • From: Terry Lambert <email@hidden>
References: 
 >Re: getcontext() -> Bus error? (From: Edd Dawson <email@hidden>)
 >Re: getcontext() -> Bus error? (From: Kevin Van Vechten <email@hidden>)
 >Re: getcontext() -> Bus error? (From: Edd Dawson <email@hidden>)
 >Re: getcontext() -> Bus error? (From: Edd Dawson <email@hidden>)
 >Re: getcontext() -> Bus error? (From: Terry Lambert <email@hidden>)
 >Re: getcontext() -> Bus error? (From: Edd Dawson <email@hidden>)
 >Re: getcontext() -> Bus error? (From: Terry Lambert <email@hidden>)

  • Prev by Date: Re: Darwin 9.2 Sources
  • Next by Date: Re: getcontext() -> Bus error?
  • Previous by thread: Re: getcontext() -> Bus error?
  • Next by thread: Re: getcontext() -> Bus error?
  • Index(es):
    • Date
    • Thread