mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 16:25:14 +08:00
2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* posix/src/key.c: Include <limits.h> * posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process a NULL extension block.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-04-18 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* posix/src/key.c: Include <limits.h>
|
||||
* posix/src/psignal.c, rtems/src/tasks.c: Do not attempt to process
|
||||
a NULL extension block.
|
||||
|
||||
2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* libmisc/dummy/dummy.c, sapi/include/confdefs.h: Add checks for
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <limits.h>
|
||||
#include <pthread.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <rtems/system.h>
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
@@ -108,6 +108,8 @@ void _POSIX_signals_Post_switch_extension(
|
||||
ISR_Level level;
|
||||
|
||||
api = the_thread->API_Extensions[ THREAD_API_POSIX ];
|
||||
if ( !api )
|
||||
return;
|
||||
|
||||
/*
|
||||
* If we invoke any user code, there is the possibility that
|
||||
|
||||
@@ -174,6 +174,8 @@ void _RTEMS_tasks_Post_switch_extension(
|
||||
Modes_Control prev_mode;
|
||||
|
||||
api = executing->API_Extensions[ THREAD_API_RTEMS ];
|
||||
if ( !api )
|
||||
return;
|
||||
|
||||
/*
|
||||
* Signal Processing
|
||||
|
||||
Reference in New Issue
Block a user