Re: glibc (makecontext) port (user context switching)
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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. This email sent to site_archiver@lists.apple.com
participants (1)
-
Terry Lambert