diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-10 22:38:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2009-12-10 22:38:37 +0000 |
commit | aca2a848b114c1090d0ac65d82ac7745f3ff2591 (patch) | |
tree | 842f86f0f81b4207278b6d8abb45cd490ec84ac5 | |
parent | 712fc884f173a7c275eac6997fc0b11db73f678c (diff) |
2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1482
* posix/src/ptimer1.c: Exit dispatching critical section.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/posix/src/ptimer1.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 168cc89041..6dc6457da6 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com> + + PR 1482 + * posix/src/ptimer1.c: Exit dispatching critical section. + 2009-05-21 Joel Sherrill <joel.sherrill@OARcorp.com> PR 1414/cpukit diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c index c1a8f77d06..33f3e4af2e 100644 --- a/cpukit/posix/src/ptimer1.c +++ b/cpukit/posix/src/ptimer1.c @@ -405,9 +405,11 @@ int timer_settime( _POSIX_Timer_TSR, ptimer ); - if ( !activated ) + if ( !activated ) { + _Thread_Enable_dispatch(); return 0; - + } + /* The timer has been started and is running */ /* return the old ones in "ovalue" */ if ( ovalue ) |