Changeset abceda99 in rtems
- Timestamp:
- Sep 30, 2013, 5:09:12 PM (7 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 0a9533fc
- Parents:
- ba2e98e (diff), 85c855af (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/posix/src/sigsuspend.c
rba2e98e rabceda99 34 34 sigset_t saved_signals_blocked; 35 35 sigset_t current_unblocked_signals; 36 #if defined(RTEMS_DEBUG) 37 int status; 38 #endif 36 39 37 40 /* … … 41 44 * 42 45 * We ignore the return status codes because sigsuspend() is 43 * defined to either terminate or return -1 with errno set to 46 * defined to either terminate or return -1 with errno set to 44 47 * EINTR. 45 48 */ 46 (void) sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 49 #if defined(RTEMS_DEBUG) 50 status = 51 #else 52 (void) 53 #endif 54 sigprocmask( SIG_BLOCK, sigmask, &saved_signals_blocked ); 47 55 48 56 current_unblocked_signals = ~(*sigmask); 49 (void) sigtimedwait( ¤t_unblocked_signals, NULL, NULL ); 57 58 #if defined(RTEMS_DEBUG) 59 status = 60 #else 61 (void) 62 #endif 63 sigtimedwait( ¤t_unblocked_signals, NULL, NULL ); 50 64 51 65 (void) sigprocmask( SIG_SETMASK, &saved_signals_blocked, NULL );
Note: See TracChangeset
for help on using the changeset viewer.