Re: glibc (makecontext) port (user context switching)
Re: glibc (makecontext) port (user context switching)
- Subject: Re: glibc (makecontext) port (user context switching)
- From: Terry Lambert <email@hidden>
- Date: Wed, 30 May 2007 18:59:48 -0700
On May 27, 2007, at 7:37 PM, James Shimer wrote:
Has there been a port of glibc or makcontext, getcontex,
swapcontext? I'm trying to port an application that uses these APIs
to perform user space context switching. Any ideas of similar
threading APIs to create and swap in and out a thread context?
You have to have kernel cooperation through sigreturn() (which is what
sets the thread context), so it''s not a straight port in user space,
since you can't necessarily do the necessary manipulation in user
space alone.
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden