summaryrefslogtreecommitdiff
path: root/cpukit/posix/src/ptimer1.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/ptimer1.c')
-rw-r--r--cpukit/posix/src/ptimer1.c4
1 files changed, 3 insertions, 1 deletions
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" */