Changeset 967c1438 in rtems
- Timestamp:
- 12/09/13 21:36:38 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 798b8da
- Parents:
- 8ae999c3
- git-author:
- Joel Sherrill <joel.sherrill@…> (12/09/13 21:36:38)
- git-committer:
- Joel Sherrill <joel.sherrill@…> (12/10/13 01:50:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/src/alarm.c
r8ae999c3 r967c1438 10 10 */ 11 11 12 /* COPYRIGHT (c) 1989-20 07.12 /* COPYRIGHT (c) 1989-2013. 13 13 * On-Line Applications Research Corporation (OAR). 14 14 * … … 33 33 * _POSIX_signals_Alarm_TSR 34 34 */ 35 36 35 static void _POSIX_signals_Alarm_TSR( 37 36 Objects_Id id __attribute__((unused)), … … 39 38 ) 40 39 { 41 kill( getpid(), SIGALRM ); 42 /* XXX can't print from an ISR, should this be fatal? */ 40 #if defined(RTEMS_DEBUG) 41 int status; 42 #define KILL_STATUS status = 43 #else 44 #define KILL_STATUS (void) 45 #endif 46 47 KILL_STATUS kill( getpid(), SIGALRM ); 48 49 #if defined(RTEMS_DEBUG) 50 /* 51 * There is no reason to think this might fail but we should be 52 * cautious. 53 */ 54 assert(status == 0); 55 #endif 43 56 } 44 57
Note: See TracChangeset
for help on using the changeset viewer.