[PATCH 1/2] Rename struct ucontext to struct mcontext

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Mar 30 18:47:00 GMT 2015

Just for the records what we talked about on IRC:

On Mar 30 18:32, Jon TURNEY wrote:
> @@ -45,7 +49,7 @@ struct _fpstate
>    __uint32_t padding[24];
>  };
> -struct ucontext
> +struct mcontext

__mcontext so as not to pollute the namespace.

>    __uint64_t etr;
>    __uint64_t efr;
>    __uint8_t _internal;
> -  __uint64_t oldmask;
>  };

Remove _internal, keep oldmask.  As a result, __mcontext is still
basically equivalent to Linux' mcontext_t.  __mcontext can be
taken from _my_tls.oldmask.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20150330/ac56d7b0/attachment.sig>

More information about the Cygwin-patches mailing list