Changeset 9e28da4 in rtems


Ignore:
Timestamp:
Jun 13, 1996, 10:16:47 PM (25 years ago)
Author:
Mark Johannes <Mark.Johannes@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7f13a932
Parents:
36197e5
Message:

sigtimedwait passes initial test cases of timeout and simple satisfaction.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/src/psignal.c

    r36197e5 r9e28da4  
    141141      the_thread->Wait.return_code = EINTR;
    142142
    143       the_info = (siginfo_t *) _Thread_Executing->Wait.return_argument;
     143      the_info = (siginfo_t *) the_thread->Wait.return_argument;
    144144
    145145      if ( !info ) {
     
    344344     return;
    345345   }
     346  _ISR_Enable( level );
    346347
    347348  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {
     
    802803  }
    803804
     805  the_info->si_signo = -1;
     806
    804807  _Thread_Disable_dispatch();
     808    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;
    805809    the_thread->Wait.return_code     = EINTR;
    806810    the_thread->Wait.option          = *set;
  • cpukit/posix/src/psignal.c

    r36197e5 r9e28da4  
    141141      the_thread->Wait.return_code = EINTR;
    142142
    143       the_info = (siginfo_t *) _Thread_Executing->Wait.return_argument;
     143      the_info = (siginfo_t *) the_thread->Wait.return_argument;
    144144
    145145      if ( !info ) {
     
    344344     return;
    345345   }
     346  _ISR_Enable( level );
    346347
    347348  for ( signo = SIGRTMIN ; signo <= SIGRTMAX ; signo++ ) {
     
    802803  }
    803804
     805  the_info->si_signo = -1;
     806
    804807  _Thread_Disable_dispatch();
     808    the_thread->Wait.queue           = &_POSIX_signals_Wait_queue;
    805809    the_thread->Wait.return_code     = EINTR;
    806810    the_thread->Wait.option          = *set;
Note: See TracChangeset for help on using the changeset viewer.