summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:01:32 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 16:01:32 +0000
commit7fec3b7a368295fc35f628b0cfc94cd5ab6f7e48 (patch)
tree9231e0cd0532a036f7598d17a0d28f554752777e /c/src
parentMoved utsname from "build for now" (unimplemented files) to the main (diff)
downloadrtems-7fec3b7a368295fc35f628b0cfc94cd5ab6f7e48.tar.bz2
Added call to _Watchdog_Remove to remove the sporadic timer. It was
being reinserted onto the ticks chain.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/exec/posix/src/pthreadsetschedparam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/posix/src/pthreadsetschedparam.c b/c/src/exec/posix/src/pthreadsetschedparam.c
index 50d3bbcea3..97bc4351b7 100644
--- a/c/src/exec/posix/src/pthreadsetschedparam.c
+++ b/c/src/exec/posix/src/pthreadsetschedparam.c
@@ -115,6 +115,7 @@ int pthread_setschedparam(
case SCHED_SPORADIC:
api->ss_high_priority = api->schedparam.sched_priority;
+ _Watchdog_Remove( &api->Sporadic_timer );
_POSIX_Threads_Sporadic_budget_TSR( 0, the_thread );
break;
}