getcontext

Joakim Tjernlund joakim.tjernlund at transmode.se
Wed Mar 16 20:16:48 UTC 2011


>
> On 3/15/2011 5:23 PM, William Wagner wrote:
> > Hello,
> >
> > I'm experimenting by trying to get google breakpad working under uclibc
> > on x86
> >
> > This requires the getcontext function. I assume it is not in uclibc (I
> > was unable to find it)?
> >
> > Any ideas what would be involved in adding it? The glibc code is fairly
> > impenetrable but it appears to be a platform specific bit of assembler.
> >
>
> exactly. I've this for SH4 in ST own git (not in the mainline because I
> don't think it's worth to have context handling function in the era of
> threads... but legacy code could still need it).

Impl. of portable CoRoutines, http://en.wikipedia.org/wiki/Coroutine ,
likes to use get/setcontext. Don't think there is anything else these
can use.

 Jocke



More information about the uClibc mailing list