2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>

* posix/src/psignal.c: Move source around to enable path testing
This commit is contained in:
Jennifer Averett
2007-12-19 18:46:12 +00:00
parent 7689b49ee9
commit 1378d39e0d
2 changed files with 31 additions and 26 deletions

View File

@@ -1,3 +1,7 @@
2007-12-19 Jennifer Averett <jennifer.averett@OARcorp.com>
* posix/src/psignal.c: Move source around to enable path testing
2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com> 2007-12-19 Joel Sherrill <joel.sherrill@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h, * libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,

View File

@@ -117,13 +117,13 @@ void _POSIX_signals_Post_switch_extension(
* The first thing done is to check there are any signals to be * The first thing done is to check there are any signals to be
* processed at all. No point in doing this loop otherwise. * processed at all. No point in doing this loop otherwise.
*/ */
while (1) {
restart: restart:
_ISR_Disable( level ); _ISR_Disable( level );
if ( !(~api->signals_blocked & if ( !(~api->signals_blocked &
(api->signals_pending | _POSIX_signals_Pending)) ) { (api->signals_pending | _POSIX_signals_Pending)) ) {
_ISR_Enable( level ); _ISR_Enable( level );
return; break;
} }
_ISR_Enable( level ); _ISR_Enable( level );
@@ -148,7 +148,8 @@ restart:
goto restart; goto restart;
} }
}
return;
} }
/*PAGE /*PAGE