summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-10 22:19:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-10 22:19:36 +0000
commit19aa6d7c81c5891bbe166c83d12636bec173c4c4 (patch)
treee6f199ae52c77efdefb6b7201e497043ed0cec73
parent4f00a35cfc2af9385a4901ae758044ef442ca6c3 (diff)
2009-12-10 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1482 * posix/src/ptimer1.c: Exit dispatching critical section.
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/posix/src/ptimer1.c4
2 files changed, 8 insertions, 1 deletions
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 <joel.sherrill@OARcorp.com>
+
+ PR 1482
+ * posix/src/ptimer1.c: Exit dispatching critical section.
+
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
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" */