Re: ucontext switch problem
Re: ucontext switch problem
- Subject: Re: ucontext switch problem
- From: Chris Suter <email@hidden>
- Date: Mon, 14 Dec 2009 12:12:00 +1100
Hi Steve,
On Mon, Dec 14, 2009 at 12:02 PM, Steve Checkoway <email@hidden> wrote:
> Is that documented somewhere? The man pages don't mention it. <http://developer.apple.com/mac/library/qa/qa2005/qa1419.html> just says it must be a multiple of 4096 bytes.
The only documentation I found was the source code, but I haven’t
really looked. :-)
>> You are aware that the ucontext stuff is deprecated on OS X, aren’t you?
> What replaces them? What about signal handlers installed via sigaction that get passed a ucontext_t? Is that deprecated too?
Sorry, I don’t know. The ucontext.h header file just says those
routines (*context) are deprecated. I would have thought that you
could rely on them working until 10.7 though.
To replace them, you can use regular threads or grand central dispatch
(10.6 only) or something else. I don’t know exactly what you’re trying
to do.
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