Changeset a06a3f7 in rtems


Ignore:
Timestamp:
Dec 10, 2009, 10:15:26 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.9
Children:
33bdd10e
Parents:
7af806a
Message:

2009-12-10 Joel Sherrill <joel.sherrill@…>

PR 1482

  • posix/src/timersettime.c: Exit dispatching critical section.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r7af806a ra06a3f7  
     12009-12-10      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        PR 1482
     4        * posix/src/timersettime.c: Exit dispatching critical section.
     5
    162009-12-10      Joel Sherrill <joel.sherrill@OARcorp.com>
    27
  • cpukit/posix/src/timersettime.c

    r7af806a ra06a3f7  
    103103         ptimer
    104104       );
    105        if ( !activated )
     105       if ( !activated ) {
     106         _Thread_Enable_dispatch();
    106107         return 0;
     108       }
    107109
    108        /* The timer has been started and is running */
    109        /* return the old ones in "ovalue" */
     110       /*
     111        * The timer has been started and is running.  So we return the
     112        * old ones in "ovalue"
     113        */
    110114       if ( ovalue )
    111115         *ovalue = ptimer->timer_data;
     
    115119       ptimer->state = POSIX_TIMER_STATE_CREATE_RUN;
    116120       _TOD_Get( &ptimer->time );
    117         _Thread_Enable_dispatch();
     121       _Thread_Enable_dispatch();
    118122       return 0;
    119123
Note: See TracChangeset for help on using the changeset viewer.