This is the mail archive of the cygwin-patches mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpyv4GxbIwTn.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]