diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-08-14 13:08:58 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-08-14 13:08:58 +0000 |
commit | b56c1a3ab7c3215b5ca7d3e2a2a5473c35e16529 (patch) | |
tree | d0a4873c62a6e1bc417eb2e671d53543a4d81262 /cpukit/posix/src/psignal.c | |
parent | 2003-08-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-b56c1a3ab7c3215b5ca7d3e2a2a5473c35e16529.tar.bz2 |
2003-08-14 Joel Sherrill <joel@OARcorp.com>
PR 92/rtems
* Makefile.am, src/alarm.c, src/psignal.c: Added ualarm() and usleep().
* src/ualarm.c, src/usleep.c: New files.
Diffstat (limited to 'cpukit/posix/src/psignal.c')
-rw-r--r-- | cpukit/posix/src/psignal.c | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c index 5a70711242..63345ef7dc 100644 --- a/cpukit/posix/src/psignal.c +++ b/cpukit/posix/src/psignal.c @@ -73,8 +73,6 @@ struct sigaction _POSIX_signals_Default_vectors[ SIG_ARRAY_MAX ] = { struct sigaction _POSIX_signals_Vectors[ SIG_ARRAY_MAX ]; -Watchdog_Control _POSIX_signals_Alarm_timer; - Thread_queue_Control _POSIX_signals_Wait_queue; Chain_Control _POSIX_signals_Inactive_siginfo; @@ -148,23 +146,6 @@ restart: /*PAGE * - * _POSIX_signals_Alarm_TSR - */ - -void _POSIX_signals_Alarm_TSR( - Objects_Id id, - void *argument -) -{ - int status; - - status = kill( getpid(), SIGALRM ); - /* XXX can't print from an ISR, should this be fatal? */ - assert( !status ); -} - -/*PAGE - * * _POSIX_signals_Manager_Initialization */ @@ -175,7 +156,7 @@ void _POSIX_signals_Manager_Initialization( unsigned32 signo; /* - * Insure we have the same number of vectors and default vector entries + * Ensure we have the same number of vectors and default vector entries */ assert( @@ -195,17 +176,6 @@ void _POSIX_signals_Manager_Initialization( sigemptyset( &_POSIX_signals_Pending ); /* - * Initialize the timer used to implement alarm(). - */ - - _Watchdog_Initialize( - &_POSIX_signals_Alarm_timer, - _POSIX_signals_Alarm_TSR, - 0, - NULL - ); - - /* * Initialize the queue we use to block for signals */ |