[patch/rfa]: Add _setjmp/_longjmp macros

Ralf Corsepius ralf.corsepius@rtems.org
Fri Jun 27 22:45:00 GMT 2008


On Mon, 2008-06-23 at 18:06 +0200, Corinna Vinschen wrote:
> On Jun 23 07:05, Joel Sherrill wrote:
> > Corinna Vinschen wrote:
> >> On Jan 13 17:32, Corinna Vinschen wrote:
> >>   
> >>> Hi,
> >>>
> >>> SUSv3 defines a _setjmp/_longjmp pair of functions, which are equivalent
> >>> to setjmp/longjmp, except that they shall never manipulate the signal
> >>> mask:
> >>>
> >>> http://www.opengroup.org/onlinepubs/009695399/functions/_setjmp.html
> >>>
> >>> The below patch adds _setjmp and _longjmp as macros calling
> >>> sigsetjmp/siglongjmp.
> >>>     
> >>
> >> I applied the below additional patch as obvious.  It defines both
> >> interfaces as functions when building for Cygwin.
> >>
> >>   
> > Would you mind making them available for RTEMS also?
Why? I don't see any need to do so

> > We try to follow SYSv3 as much as is possible in a single process,
> > multithreaded environment (PSE52).
=> There should not be any need to extend the Cygwin exception to RTEMS.

Ralf




More information about the Newlib mailing list