From 19aa6d7c81c5891bbe166c83d12636bec173c4c4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Dec 2009 22:19:36 +0000 Subject: 2009-12-10 Joel Sherrill PR 1482 * posix/src/ptimer1.c: Exit dispatching critical section. --- cpukit/ChangeLog | 5 +++++ cpukit/posix/src/ptimer1.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index b610f62b80..964f3b8ddf 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-12-10 Joel Sherrill + + PR 1482 + * posix/src/ptimer1.c: Exit dispatching critical section. + 2009-09-15 Ralf Corsépius PR 1441/cpukit diff --git a/cpukit/posix/src/ptimer1.c b/cpukit/posix/src/ptimer1.c index 2ee201ddda..f9f8a076a3 100644 --- a/cpukit/posix/src/ptimer1.c +++ b/cpukit/posix/src/ptimer1.c @@ -360,8 +360,10 @@ 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" */ -- cgit v1.2.3