Request for swapcontext and getcontext to be ported to our libc

Matt Emmerton matt at
Sat Jan 13 11:18:00 PST 2007

> :So is the current context code going into cvs HEAD or whats happening?
> :
> :Petr
>     I'm going to let the discussion continue for another day or two but
>     I will note that Matt is the person doing the work so it depends on
>     how much time he has available to do the libc version prior to the
>     release (assuming he agrees with the assessment that it is better to
>     do the libc version for the release then the syscall version).
> -Matt

I agree with the assessment.  Last night I moved all the requisite bits from
kernel-space into libc, with the exception of the low-level
[get|set]_mcontext routines.  (My Intel assembly knowledge is very limited,
especially for anything after the 8086, so I could use some help to write
this code.)  I'm almost done the syscall work to get/set the signal mask and
pending signal mask, so should have something up on the web before the end
of the afternoon (EST) for review.

Matt Emmerton

More information about the Users mailing list