Re: ucontext switch problem
Re: ucontext switch problem
- Subject: Re: ucontext switch problem
- From: Chris Suter <email@hidden>
- Date: Mon, 14 Dec 2009 10:54:05 +1100
Hi,
On Sat, Dec 12, 2009 at 11:22 PM, Roger Pau Monné <email@hidden> wrote:
> Hello,
> I'm trying to run a simple application in Mac OS X 10.5.8 that uses ucontext
> system calls getcontext, makecontext and switchcontext. I know it works on
> Linux, but I haven't been able to run it in Mac OS X. The code is pretty
> simple, it just switches context from two functions:
[snip]
Your stack isn’t big enough. It needs to be at least 32K.
You are aware that the ucontext stuff is deprecated on OS X, aren’t you?
Kind regards,
Chris
_______________________________________________
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