Added call to _Watchdog_Remove to remove the sporadic timer. It was

being reinserted onto the ticks chain.
This commit is contained in:
Joel Sherrill
1999-11-16 16:01:32 +00:00
parent 2c0e896e9c
commit 7fec3b7a36
2 changed files with 2 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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;
}