• 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: Amanda Walker <email@hidden>
  • Date: Sat, 16 Feb 2008 17:58:34 -0500

On Feb 16, 2008, at 4:23 PM, Edd Dawson wrote:
I can see how what I did would be problematic for certain implementations. On the other hand I don't believe I'm doing anything funny as far as the POSIX standard is concerned.

Well, as of the 2004 edition of 1003.1, strictly conforming POSIX applications can't use these functions at all, and are supposed to use the POSIX threads functions instead. Last I checked (late 2006), they were slated for removal altogether in the next rev of the standard (which should be happening right around now, if I recall correctly).


As to why it works in Linux but not Darwin, my first guess would be "luck" :-). Using these functions has always been a fairly delicate matter.

--Amanda

_______________________________________________
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


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>)
 >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>)

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