Changeset e5b78e2 in rtems for cpukit/posix/src/cancelrun.c


Ignore:
Timestamp:
Dec 12, 2002, 1:04:18 AM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5e622a9
Parents:
2099695
Message:

2002-12-11 Vladimir Nesic <vnesic@…>

  • src/cancelrun.c, src/cleanuppop.c: Get the last real node not the permanent null last node.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/posix/src/cancelrun.c

    r2099695 re5b78e2  
    4242  while ( !_Chain_Is_empty( handler_stack ) ) {
    4343    _ISR_Disable( level );
    44       handler = (POSIX_Cancel_Handler_control *) _Chain_Tail( handler_stack );
     44      handler = (POSIX_Cancel_Handler_control *)
     45           _Chain_Tail( handler_stack )->previous;
    4546      _Chain_Extract_unprotected( &handler->Node );
    4647    _ISR_Enable( level );
Note: See TracChangeset for help on using the changeset viewer.