diff options
-rw-r--r-- | cpukit/posix/src/timertsr.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/posix/src/timertsr.c b/cpukit/posix/src/timertsr.c index fbbdf59394..85554633e9 100644 --- a/cpukit/posix/src/timertsr.c +++ b/cpukit/posix/src/timertsr.c @@ -73,7 +73,14 @@ void _POSIX_Timer_TSR( */ if ( pthread_kill ( ptimer->thread_id, ptimer->inf.sigev_signo ) ) { - /* XXX error handling */ + _Assert( FALSE ); + /* + * TODO: What if an error happens at run-time? This should never + * occur because the timer should be canceled if the thread + * is deleted. This method is being invoked from the Clock + * Tick ISR so even if we decide to take action on an error, + * we don't have many options. We shouldn't shut the system down. + */ } /* After the signal handler returns, the count of expirations of the |