diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-03 16:27:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-06-23 09:13:00 +0200 |
commit | 92635cb36d7af890c4fc76ac8323b79936001ddd (patch) | |
tree | 19c316dad30d9d84727f54b5531a9e09d4921be4 /cpukit/score/src/threadclearstate.c | |
parent | score: Use default get/set affinity operation (diff) | |
download | rtems-92635cb36d7af890c4fc76ac8323b79936001ddd.tar.bz2 |
score: Remove scheduler parameter from most ops
Remove the scheduler parameter from most high level scheduler operations
like
- _Scheduler_Block(),
- _Scheduler_Unblock(),
- _Scheduler_Change_priority(),
- _Scheduler_Update_priority(),
- _Scheduler_Release_job(), and
- _Scheduler_Yield().
This simplifies the scheduler operations usage.
Diffstat (limited to 'cpukit/score/src/threadclearstate.c')
-rw-r--r-- | cpukit/score/src/threadclearstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threadclearstate.c b/cpukit/score/src/threadclearstate.c index 10bdae6829..19e41df593 100644 --- a/cpukit/score/src/threadclearstate.c +++ b/cpukit/score/src/threadclearstate.c @@ -37,7 +37,7 @@ void _Thread_Clear_state( the_thread->current_state = _States_Clear( state, current_state ); if ( _States_Is_ready( current_state ) ) { - _Scheduler_Unblock( _Scheduler_Get( the_thread ), the_thread ); + _Scheduler_Unblock( the_thread ); } } _ISR_Enable( level ); |